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

Implement takedown system

This commit is contained in:
Cadence Ember 2021-11-20 19:42:34 +13:00
parent 741a1199dd
commit b9f703086f
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
10 changed files with 111 additions and 2 deletions

10
api/takedown.js Normal file
View file

@ -0,0 +1,10 @@
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})
}
}
]