forked from DebaucheryLibrarian/traxxx
Simplified stash routing.
This commit is contained in:
parent
0e656ea5ca
commit
bcd3c08faa
|
@ -233,7 +233,7 @@ const routes = [
|
||||||
name: 'notifications',
|
name: 'notifications',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/user/:username/stash/:stashSlug',
|
path: '/stash/:username/:stashSlug',
|
||||||
redirect: (from) => ({
|
redirect: (from) => ({
|
||||||
name: 'stash',
|
name: 'stash',
|
||||||
params: {
|
params: {
|
||||||
|
@ -244,7 +244,7 @@ const routes = [
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/user/:username/stash/:stashSlug/:range/:pageNumber',
|
path: '/stash/:username/:stashSlug/:range/:pageNumber',
|
||||||
component: Stash,
|
component: Stash,
|
||||||
name: 'stash',
|
name: 'stash',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue