Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
[Deploy] Split context from hard-code to using environment variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
aquariuslt committed Oct 4, 2018
1 parent 039e8ac commit 3ab5346
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ let baseConfig = {
port: 5000
},
prod: {
context: '/vue-boilerplate/'
context: process.env.CONTEXT || ''
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>Vue Boilerplate</title>
<base href="/vue-boilerplate">
<base href="/">
<meta name="description" content="vue">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="favicon.png" type="image/x-icon">
Expand Down

0 comments on commit 3ab5346

Please sign in to comment.