feat: update .env.example and svelte.config.js

This commit is contained in:
Bart van der Braak 2024-02-22 00:24:52 +01:00
parent b1d8df5ebe
commit e4f52d4673
2 changed files with 3 additions and 8 deletions

View file

@ -1,4 +1,4 @@
SERVER_PB="http://localhost:8090" SERVER_PB="http://localhost:8090"
PUBLIC_CLIENT_PB="http://127.0.0.1:8090" PUBLIC_CLIENT_PB="http://127.0.0.1:8090"
PUBLIC_MSID_ASSOCIATION="{}" PUBLIC_PLAUSIBLE_DOMAIN="plausible.example.com"
PUBLIC_PLAUSIBLE_DOMAIN="plausible.example.com" MSID_ASSOCIATION="{}"

View file

@ -1,16 +1,11 @@
import adapter from '@sveltejs/adapter-auto'; import adapter from '@sveltejs/adapter-vercel';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */
const config = { const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: [vitePreprocess({})], preprocess: [vitePreprocess({})],
kit: { kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter() adapter: adapter()
} }
}; };