feat: add Bind Host IP and Allowed Hosts / Reverse Proxy Domain settings

This commit is contained in:
Schwitzz
2026-10-30 14:59:09 -05:00
parent 29dbc27c41
commit 723fafdef8
5 changed files with 253 additions and 6 deletions
+2
View File
@@ -16,6 +16,7 @@ export default defineConfig({
host: "0.0.0.0",
port: 5173,
strictPort: false,
allowedHosts: true,
proxy: {
"/api": {
target: process.env.VITE_API_ORIGIN ?? "http://127.0.0.1:8081",
@@ -30,5 +31,6 @@ export default defineConfig({
preview: {
host: "0.0.0.0",
port: 4173,
allowedHosts: true,
},
});