diff --git a/install/server.ts b/install/server.ts index 45db375..788ca35 100644 --- a/install/server.ts +++ b/install/server.ts @@ -10,6 +10,14 @@ Bun.serve({ 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 }) }, })