Ver código fonte

后台地址

彭宇 1 ano atrás
pai
commit
cf2a47cf70
4 arquivos alterados com 6 adições e 6 exclusões
  1. 1 1
      .env.development
  2. 1 1
      .env.production
  3. 1 1
      .env.staging
  4. 3 3
      vue.config.js

+ 1 - 1
.env.development

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 吉宝后台管理系统
+VUE_APP_TITLE = 吉宝后台管理系统
 
 # 开发环境配置
 ENV = 'development'

+ 1 - 1
.env.production

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 吉宝后台管理系统
+VUE_APP_TITLE = 吉宝后台管理系统
 
 # 生产环境配置
 ENV = 'production'

+ 1 - 1
.env.staging

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 吉宝后台管理系统
+VUE_APP_TITLE = 吉宝后台管理系统
 
 NODE_ENV = production
 

+ 3 - 3
vue.config.js

@@ -7,7 +7,7 @@ function resolve(dir) {
 
 const CompressionPlugin = require('compression-webpack-plugin')
 
-const name = process.env.VUE_APP_TITLE || '吉宝后台管理系统' // 网页标题
+const name = process.env.VUE_APP_TITLE || '吉宝后台管理系统' // 网页标题
 
 const port = process.env.port || process.env.npm_config_port || 88 // 端口
 
@@ -35,8 +35,8 @@ module.exports = {
     proxy: {
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        // target: `http://127.0.0.1:8088`,
-        target: `https://sookajs.top:8888/`,
+        target: `http://127.0.0.1:8088`,
+        // target: `https://sookajs.top:8888/`,
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''