redirect the homepage to the source code
This commit is contained in:
parent
d4c842fd5a
commit
47ff63b422
1 changed files with 4 additions and 2 deletions
|
@ -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")
|
||||
}
|
Loading…
Add table
Reference in a new issue