Browse Source

feat:修改

Moss 1 year ago
parent
commit
15af108f4b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .env.staging
  2. 1 1
      vue.config.js

+ 1 - 1
.env.staging

@@ -1,4 +1,4 @@
-NODE_ENV = production
+NODE_ENV = staging
 
 # just a flag
 ENV = 'staging'

+ 1 - 1
vue.config.js

@@ -42,7 +42,7 @@ module.exports = {
    * In most cases please use '/' !!!
    * Detail: https://cli.vuejs.org/config/#publicpath
    */
-  publicPath: process.env.NODE_ENV === 'development' ? '/' : '/',
+  publicPath: process.env.NODE_ENV === 'staging' ? '/zfmanager' : '/',
   outputDir: 'dist',
   assetsDir: './static',
   // lintOnSave: process.env.NODE_ENV === 'development',