shout
This commit is contained in:
parent
0471e7b26d
commit
63b0709649
|
|
@ -10,6 +10,14 @@ Bun.serve({
|
||||||
headers: { "content-type": "text/plain" },
|
headers: { "content-type": "text/plain" },
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (new URL(req.url).pathname === "/shout") {
|
||||||
|
return Response.redirect(
|
||||||
|
"https://git.nose.space/defunkt/go-shout/raw/branch/main/install.sh",
|
||||||
|
302
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
return new Response("404 Not Found", { status: 404 })
|
return new Response("404 Not Found", { status: 404 })
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user