feat:增加 allowedHosts 变量,允许 natapp 转发,对应 https://t.zsxq.com/kSg2A

This commit is contained in:
YunaiV
2026-01-18 17:04:03 +08:00
parent 9e3d75ae65
commit af0057940a

View File

@@ -5,6 +5,7 @@ export default defineConfig(async () => {
application: {},
vite: {
server: {
allowedHosts: true,
proxy: {
'/admin-api': {
changeOrigin: true,