feat: add allowedHosts configuration for preview in Vite setup

This commit is contained in:
2026-06-01 15:43:51 +08:00
parent 407e5debe2
commit 377670ea65
+4 -1
View File
@@ -2,5 +2,8 @@ import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [sveltekit()]
plugins: [sveltekit()],
preview: {
allowedHosts: ["bus.furyhawk.lol"]
}
});