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