1
0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2024-12-22 13:07:00 +00:00
cloudtube/api/takedown.js

11 lines
248 B
JavaScript
Raw Normal View History

2021-11-20 06:42:34 +00:00
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})
2021-11-20 06:42:34 +00:00
}
}
]