Skip to content

Commit

Permalink
feat: set default publicPath to ./
Browse files Browse the repository at this point in the history
  • Loading branch information
Aysnine committed Apr 28, 2020
1 parent 619d3e8 commit dd5b529
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VUE_APP_TITLE='D2 Advance'

BASE_URL=/
BASE_URL=./

# on | off
VUE_APP_START_LOADING_DEBUG=off
Expand Down
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const pages = {
module.exports = {
pages,
productionSourceMap: false,
publicPath: process.env.BASE_URL || '/',
publicPath: process.env.BASE_URL || './',

devServer: {
// display console info on page
Expand Down

0 comments on commit dd5b529

Please sign in to comment.