Changed stash routing.

This commit is contained in:
DebaucheryLibrarian
2023-06-08 04:19:37 +02:00
parent 81f504f33e
commit d847c58d24
9 changed files with 64 additions and 21 deletions

View File

@@ -233,7 +233,7 @@ const routes = [
name: 'notifications',
},
{
path: '/stash/:stashId/:stashSlug',
path: '/user/:username/stash/:stashSlug',
redirect: (from) => ({
name: 'stash',
params: {
@@ -244,7 +244,7 @@ const routes = [
}),
},
{
path: '/stash/:stashId/:stashSlug?/:range/:pageNumber',
path: '/user/:username/stash/:stashSlug/:range/:pageNumber',
component: Stash,
name: 'stash',
},