!41 fix: 修复访问时提示 Invalid Host header 问题

Merge pull request !41 from mouyong/N/A
This commit is contained in:
sakuya 2023-01-30 06:13:40 +00:00 committed by Gitee
commit aa35c668d7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ module.exports = defineConfig({
//开发服务,build后的生产模式还需nginx代理
devServer: {
allowedHosts: 'all',
open: false, //运行后自动打开浏览器
port: process.env.VUE_APP_PORT, //挂载端口
proxy: {