add tab param matcher for URL routing
This commit is contained in:
parent
a9dcbd18f8
commit
6ab74b43b1
1 changed files with 5 additions and 0 deletions
5
src/params/tab.ts
Normal file
5
src/params/tab.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
import type { ParamMatcher } from '@sveltejs/kit'
|
||||||
|
|
||||||
|
export const match: ParamMatcher = (param) => {
|
||||||
|
return ['weapons', 'summons', 'characters'].includes(param)
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue