Skip to content

Commit

Permalink
Add the default redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
Raimondas Galvelis committed Jul 16, 2021
1 parent a5b4841 commit 35587ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
const component = httpVueLoader(`${tab.name.toLowerCase()}.vue`)
return { path: tab.path, component }
}).concat([
{ path: '/documentation.html', redirect: '/documentation'}
{ path: '/documentation.html', redirect: '/documentation'},
{ path: '*', redirect: '/'},
])
const router = new VueRouter({
base: document.URL.includes('/openmm-org') ? '/openmm-org/' : '/',
Expand Down

0 comments on commit 35587ac

Please sign in to comment.