diff options
| author | blackhao <13851610112@163.com> | 2025-12-10 21:10:22 -0600 |
|---|---|---|
| committer | blackhao <13851610112@163.com> | 2025-12-10 21:10:22 -0600 |
| commit | 00256c017037d91ac25663c5b85a81736a2d3ce6 (patch) | |
| tree | 2dcf5575a5db7313b2c4893fb90df0b66f96e3a0 /frontend/vite.config.ts | |
| parent | 478100200dff8400a6e47502fa4a6db035fd6532 (diff) | |
fix: add allowed hosts
Diffstat (limited to 'frontend/vite.config.ts')
| -rw-r--r-- | frontend/vite.config.ts | 3 |
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'], + }, }) |
