diff --git a/functions/[slug].js b/functions/[slug].js index a87aee6..8068bb9 100644 --- a/functions/[slug].js +++ b/functions/[slug].js @@ -1,4 +1,5 @@ -export async function onRequestGet({ request, params, env }) { +export async function onRequestGet({ request, params, env, next }) { + if (['dash', 'api'].includes(params.slug)) return next(); try { const dest = await env.KV_EV.get(params.slug); const url = dest ? `https://${dest}` : new URL('/', request.url).href;