diff --git a/src/routes/index.ts b/src/routes/index.ts index 4407ea8..a5f6e50 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -1,4 +1,6 @@ +import { pogo } from "../../deps.ts" + export const method = ['*'] -export const handler = () => { - return "index" +export const handler = (r, h: pogo.Response) => { + return h.redirect(Deno.env.get("REDIRECT_URL") || "https://git.lio.cat/l/dreamland") } \ No newline at end of file