1
0
Fork 0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2026-03-02 02:31:35 +00:00

Add JavaScript licenses page

This commit is contained in:
Cadence Ember 2021-04-16 16:31:54 +12:00
parent 998bd3d7cb
commit 6f8e03e506
No known key found for this signature in database
GPG key ID: BC1C2C61CF521B17
7 changed files with 46 additions and 1 deletions

View file

@ -7,5 +7,10 @@ module.exports = [
const mobile = userAgent.toLowerCase().includes("mobile")
return render(200, "pug/home.pug", {mobile})
}
},
{
route: "/js-licenses", methods: ["GET"], code: async () => {
return render(200, "pug/js-licenses.pug")
}
}
]