Skip to content

Commit

Permalink
ak环境war包部署修改路径为相关路径
Browse files Browse the repository at this point in the history
  • Loading branch information
hxh1021 committed Apr 19, 2021
1 parent b9641d9 commit 3ab1197
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
ENV = 'production'

# base api
VUE_APP_BASE_API = '/'
VUE_APP_BASE_API = './'
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
* In most cases please use '/' !!!
* Detail: https://cli.vuejs.org/config/#publicpath
*/
publicPath: '/',
publicPath: './',
outputDir: 'dist',
assetsDir: 'static',
lintOnSave: process.env.NODE_ENV === 'development',
Expand Down

0 comments on commit 3ab1197

Please sign in to comment.