Fix vite config
This commit is contained in:
+7
-1
@@ -2,5 +2,11 @@ import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [sveltekit()]
|
||||
plugins: [sveltekit()],
|
||||
preview: {
|
||||
allowedHosts: true
|
||||
},
|
||||
server: {
|
||||
allowedHosts: true
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user