Allow simulator deployment host

This commit is contained in:
masterdev
2026-06-17 01:13:30 +01:00
parent e3d8f856e3
commit c7c11d5060
3 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ import react from "@vitejs/plugin-react-swc";
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), "");
const allowedHosts = (env.VITE_ALLOWED_HOSTS ?? "localhost,127.0.0.1")
const allowedHosts = (env.VITE_ALLOWED_HOSTS ?? "localhost,127.0.0.1,simplasttrack.sable.ynsdev.site")
.split(",")
.map((host) => host.trim())
.filter(Boolean);