Allow CORS

trivernis 1 year ago
parent e6b7a9849f
commit 287a3d3e66
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -2,5 +2,8 @@ import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite'; import { defineConfig } from 'vite';
export default defineConfig({ export default defineConfig({
plugins: [sveltekit()] plugins: [sveltekit()],
server: {
cors: true,
}
}); });

Loading…
Cancel
Save