1
0
Fork 0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2026-05-26 12:32:25 +00:00

Optional no ssl flag using x-insecure header

This commit is contained in:
Cadence Ember 2023-01-15 22:06:31 +13:00
parent 8d292cc200
commit 3d5927ab28
9 changed files with 22 additions and 19 deletions

View file

@ -3,8 +3,8 @@ const {render} = require("pinski/plugins")
module.exports = [
{
route: "/takedown", methods: ["GET"], code: async () => {
return render(200, "pug/takedown.pug", {constants})
route: "/takedown", methods: ["GET"], code: async ({req}) => {
return render(200, "pug/takedown.pug", {req, constants})
}
}
]