mirror of
https://git.sr.ht/~cadence/cloudtube
synced 2024-12-22 05:06:57 +00:00
11 lines
248 B
JavaScript
11 lines
248 B
JavaScript
const constants = require("../utils/constants")
|
|
const {render} = require("pinski/plugins")
|
|
|
|
module.exports = [
|
|
{
|
|
route: "/takedown", methods: ["GET"], code: async ({req}) => {
|
|
return render(200, "pug/takedown.pug", {req, constants})
|
|
}
|
|
}
|
|
]
|