nip05.ts (358B)
1 import { set_routes_match_skip_all, set_routes_match_skip_index0 } from '$lib/utils/routes/lib'; 2 import type { ParamMatcher } from '@sveltejs/kit'; 3 4 export const match: ParamMatcher = (value: string): boolean => { 5 return !!value && value.length !== 2 6 && !set_routes_match_skip_all.has(value) 7 && !set_routes_match_skip_index0.has(value) 8 };