diff --git a/www/routes/index.tsx b/www/routes/index.tsx index 0ad43d7b..9dd2af66 100644 --- a/www/routes/index.tsx +++ b/www/routes/index.tsx @@ -15,7 +15,7 @@ export const handler: Handlers = { GET(req, ctx) { const accept = req.headers.get("accept"); if (accept && !accept.includes("text/html")) { - const path = `/@${VERSIONS[0]}/init.ts`; + const path = `https://deno.land/x/fresh@${VERSIONS[0]}/init.ts`; return new Response(`Redirecting to ${path}`, { headers: { "Location": path }, status: 307,