18 lines
451 B
JavaScript
18 lines
451 B
JavaScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
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}']
|
|
}
|
|
});
|