Merge pull request #224 from pinry/feature/history-mode-url

Feature/history mode url closed #198 #197
This commit is contained in:
Ji Qu
2020-07-18 20:07:37 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ server {
}
location / {
root /pinry/pinry-spa/dist/;
try_files $uri $uri/ /index.html;
access_log off;
}
}

View File

@@ -61,6 +61,7 @@ const routes = [
];
const router = new VueRouter({
mode: 'history',
routes,
});