make ready for vercel

This commit is contained in:
2025-09-27 15:12:36 +02:00
parent 806fb925f0
commit 925e7163b6
4 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-node';
import adapter from '@sveltejs/adapter-vercel';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
@@ -13,7 +13,7 @@ const config = {
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter(),
csrf: {
trustedOrigins: ['http://localhost:3000', 'https://demo.ziasvannes.tech']
trustedOrigins: ['http://localhost:3000', 'https://serengo.ziasvannes.tech']
}
}
};