Explorar el Código

跨域,修改 host

zweizhao hace 7 años
padre
commit
16b881b157
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      vue.config.js

+ 2 - 1
vue.config.js

@@ -28,6 +28,7 @@ module.exports = {
       .set('utils',resolve('src/utils'))
 
     config.devServer
+      .set('host', 'local-rooter.proginn.com')
       .set('port', 20201)
       .set('historyApiFallback', false)
       .set('noInfo', true)
@@ -37,4 +38,4 @@ module.exports = {
       .set('proxy', ds_proxy)
       .set('disableHostCheck', true)
   },
-}
+}