redirect the homepage to the source code

This commit is contained in:
Joshua 2022-09-15 00:11:05 +02:00
parent d4c842fd5a
commit 47ff63b422

View file

@ -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")
}