1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 04:14:39 -05:00

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) { app.get("/favicon.ico", function (req, res) {
res.sendFile("favicon.ico", { root: cssDir }); 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) => { app.get("/css/:id", (req, res) => {
const filePath = path.join(cssDir, req.params.id); const filePath = path.join(cssDir, req.params.id);