Migrate to page endpoints
This commit is contained in:
5
src/params/blogPage.ts
Normal file
5
src/params/blogPage.ts
Normal file
@ -0,0 +1,5 @@
|
||||
/** @type {import('@sveltejs/kit').ParamMatcher} */
|
||||
export function match(param: string) {
|
||||
console.log('parma', param)
|
||||
return !['tags', 'page'].some((keyword) => param.startsWith(keyword))
|
||||
}
|
Reference in New Issue
Block a user