mirror of
https://github.com/furyhawk/bus_sg_app.git
synced 2026-07-21 02:06:48 +00:00
feat: add allowedHosts configuration for preview in Vite setup
This commit is contained in:
+4
-1
@@ -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()],
|
||||||
|
preview: {
|
||||||
|
allowedHosts: ["bus.furyhawk.lol"]
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user