summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorblackhao <13851610112@163.com>2025-12-10 21:10:22 -0600
committerblackhao <13851610112@163.com>2025-12-10 21:10:22 -0600
commit00256c017037d91ac25663c5b85a81736a2d3ce6 (patch)
tree2dcf5575a5db7313b2c4893fb90df0b66f96e3a0 /frontend
parent478100200dff8400a6e47502fa4a6db035fd6532 (diff)
fix: add allowed hosts
Diffstat (limited to 'frontend')
-rw-r--r--frontend/vite.config.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 8b0f57b..b9c0e5b 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -4,4 +4,7 @@ import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
+ server: {
+ allowedHosts: ['contextflow.blackhao.com', 'localhost'],
+ },
})