vite.config.js

This commit is contained in:
titver968
2025-03-07 11:52:00 +01:00
parent fde9bc71b1
commit 45174a3b0e

View File

@@ -3,6 +3,14 @@ import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [sveltekit()],
server: {
cors: {
origin: ['https://tatort.innovation-hub-niedersachsen.de', 'http://localhost:4173'],
methods: ['GET', 'POST'],
allowedHeaders: ['Content-Type']
},
allowedHosts: ['tatort.innovation-hub-niedersachsen.de']
}
test: {
include: ['src/**/*.{test,spec}.{js,ts}']
}