feat:增加 allowedHosts 变量,允许 natapp 转发,对应 https://t.zsxq.com/kSg2A
parent
9e3d75ae65
commit
af0057940a
|
|
@ -5,6 +5,7 @@ export default defineConfig(async () => {
|
|||
application: {},
|
||||
vite: {
|
||||
server: {
|
||||
allowedHosts: true,
|
||||
proxy: {
|
||||
'/admin-api': {
|
||||
changeOrigin: true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue