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:
parent
8d292cc200
commit
3d5927ab28
9 changed files with 22 additions and 19 deletions
|
|
@ -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})
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue