Skip to content

Commit

Permalink
Merge pull request #800 from InternetHealthReport/dev
Browse files Browse the repository at this point in the history
v1.3.6
  • Loading branch information
dpgiakatos authored May 23, 2024
2 parents 396e35d + db09c03 commit b36c902
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ihr-website",
"version": "1.3.5",
"version": "1.3.6",
"private": true,
"type": "module",
"scripts": {
Expand Down
22 changes: 14 additions & 8 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,25 @@ const router = createRouter({
},
{
path: 'networks/:id?',
redirect: {
name: 'network',
query: {
active: 'monitoring'
redirect: to => {
return {
name: 'network',
query: {
...to.query,
active: 'monitoring'
}
}
}
},
{
path: 'countries/:cc?',
redirect: {
name: 'country',
query: {
active: 'monitoring'
redirect: to => {
return {
name: 'country',
query: {
...to.query,
active: 'monitoring'
}
}
}
}
Expand Down

0 comments on commit b36c902

Please sign in to comment.