张延森 hace 4 años
padre
commit
ac35c483b7
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1
    1
      .env.production
  2. 1
    1
      vue.config.js

+ 1
- 1
.env.production Ver fichero

@@ -2,5 +2,5 @@
2 2
 ENV = 'production'
3 3
 
4 4
 # base api
5
-VUE_APP_BASE_API = '/prod-api'
5
+VUE_APP_BASE_API = '/liyuanhui'
6 6
 

+ 1
- 1
vue.config.js Ver fichero

@@ -24,7 +24,7 @@ module.exports = {
24 24
    * In most cases please use '/' !!!
25 25
    * Detail: https://cli.vuejs.org/config/#publicpath
26 26
    */
27
-  publicPath: '/',
27
+  publicPath: '.',
28 28
   outputDir: 'dist',
29 29
   assetsDir: 'static',
30 30
   lintOnSave: process.env.NODE_ENV === 'development',