部署上线
This commit is contained in:
@@ -25,6 +25,12 @@ export default defineConfig({
|
|||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path) => path.replace(/^\/api/, '')
|
rewrite: (path) => path.replace(/^\/api/, '')
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
allowedHosts: [
|
||||||
|
'localhost',
|
||||||
|
'127.0.0.1',
|
||||||
|
'order.stormrain.top',
|
||||||
|
'192.168.100.228'
|
||||||
|
]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user