Simplified stash routing.

This commit is contained in:
DebaucheryLibrarian 2023-06-08 04:23:54 +02:00
parent 0e656ea5ca
commit bcd3c08faa
1 changed files with 2 additions and 2 deletions

View File

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