new /test-route route
All checks were successful
/ test (push) Successful in 16s

This commit is contained in:
Dovi Cowan 2024-07-26 01:10:10 +01:00
parent 51785f0853
commit 02b5394d7a
Signed by: dcowan
GPG key ID: CC4A4CB950D7E579

View file

@ -9,6 +9,12 @@ export default async ({ req, res, log, error }) => {
return res.send('Hello, World!'); return res.send('Hello, World!');
break; break;
case "test-route":
return res.send("This is a new route, deployed with Forgejo Actions", 200, {
"content-type": "text/html"
});
break;
default: default:
return res.send("Invalid route", 404) return res.send("Invalid route", 404)
break; break;