diff --git a/index.ts b/index.ts index 69e28ae..914287a 100644 --- a/index.ts +++ b/index.ts @@ -153,6 +153,10 @@ const server = createServer(async (req, res) => { const url = new URL(req.url!, "https://loc.al"); + if (req.method == "GET" && url.pathname == "/status") { + return res.end("OK") + } + if (req.method == "GET" && url.pathname == "/battler.png") { console.log(`Generating battler`) const opts = Object.fromEntries(