Skip to content

Commit

Permalink
feat: use vue history mode
Browse files Browse the repository at this point in the history
  • Loading branch information
VviGit committed Oct 30, 2020
1 parent bb250bd commit 8e0688a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions code/web-ui/config/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ server {
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
}

#error_page 404 /404.html;
Expand Down
2 changes: 1 addition & 1 deletion code/web-ui/cypress.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"baseUrl": "http://localhost:8081/#",
"baseUrl": "http://localhost:8081",
"fixturesFolder": "test/cypress/fixtures",
"integrationFolder": "test/cypress/scenarii",
"pluginsFile": "test/cypress/plugins/index.js",
Expand Down
1 change: 1 addition & 0 deletions code/web-ui/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ iView.Message.config({
})

const router = new VueRouter({
mode: 'history',
routes
})

Expand Down

0 comments on commit 8e0688a

Please sign in to comment.