瀏覽代碼

Merge remote-tracking branch 'origin/master'

conghelong 1 年之前
父節點
當前提交
214a24d167
共有 4 個文件被更改,包括 6 次插入6 次删除
  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]: ''