1
Fork 0

Add link to videos

This commit is contained in:
Korbs 2024-02-13 17:40:58 -05:00
parent 18cc442f59
commit 151a4701ed

View file

@ -166,6 +166,15 @@ module.exports = function (app, config, renderTemplate) {
app.get("/favicon.ico", function (req, res) {
res.sendFile("favicon.ico", { root: cssDir });
});
app.get("/bg-full.webm", function (req, res) {
res.sendFile("bg-full.webm", { root: cssDir });
});
app.get("/bg-720.webm", function (req, res) {
res.sendFile("bg-720.webm", { root: cssDir });
});
app.get("/bg-480.webm", function (req, res) {
res.sendFile("bg-480.webm", { root: cssDir });
});
app.get("/css/:id", (req, res) => {
const filePath = path.join(cssDir, req.params.id);