🔨 update: IP restrictions during development

This commit is contained in:
EUForest 2026-01-06 22:56:24 +08:00
parent b85013e276
commit 22b24041a7
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ export default defineConfig(({ mode }) => {
}, },
}, },
server: { server: {
host: "0.0.0.0",
proxy: { proxy: {
"/api": { "/api": {
target: env.VITE_API_BASE_URL || "https://api.ppanel.dev", target: env.VITE_API_BASE_URL || "https://api.ppanel.dev",

View File

@ -45,6 +45,7 @@ export default defineConfig(({ mode }) => {
}, },
}, },
server: { server: {
host: "0.0.0.0",
proxy: { proxy: {
"/api": { "/api": {
target: env.VITE_API_BASE_URL || "https://api.ppanel.dev", target: env.VITE_API_BASE_URL || "https://api.ppanel.dev",