|
@@ -15,7 +15,7 @@ const name = defaultSettings.title || '个人中心' // page title
|
|
|
// For example, Mac: sudo npm run
|
|
|
// You can change the port by the following methods:
|
|
|
// port = 9528 npm run dev OR npm run dev --port = 9528
|
|
|
-const port = process.env.port || process.env.npm_config_port || 9528 // dev port
|
|
|
+const port = process.env.port || process.env.npm_config_port || 9590 // dev port
|
|
|
|
|
|
// All configuration item explanations can be find in https://cli.vuejs.org/config/
|
|
|
module.exports = {
|
|
@@ -42,8 +42,8 @@ module.exports = {
|
|
|
// change xxx-api/login => mock/login
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
|
- //target: `http://gcls.utschool.cn/`,
|
|
|
- target: `https://gcls.helxsoft.cn/`,
|
|
|
+ target: `http://gcls.utschool.cn/`,
|
|
|
+ //target: `https://gcls.helxsoft.cn/`,
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|