Forgot to update static routes

This commit is contained in:
Firepup Sixfifty 2024-05-07 09:45:45 -05:00
parent dec74ad298
commit 5a561e90a3
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

View file

@ -176,13 +176,13 @@ function format(seconds){
return pad(hours) + ':' + pad(minutes) + ':' + pad(seconds); return pad(hours) + ':' + pad(minutes) + ':' + pad(seconds);
} }
app.use(cookieCheck); app.use(cookieCheck);
app.use(express.static(dir + "/public/styles")); app.use(express.static(dir + "styles"));
app.use(express.static(dir + "/public/audio")); app.use(express.static(dir + "audio"));
app.use(express.static(dir + "/public/videos")); app.use(express.static(dir + "videos"));
app.use(express.static(dir + "/public/scripts")); app.use(express.static(dir + "scripts"));
app.use(express.static(dir + "/public/fonts")); app.use(express.static(dir + "fonts"));
app.use(express.static(dir + "/public/icons")); app.use(express.static(dir + "icons"));
app.use(express.static(dir + "/public/images")); app.use(express.static(dir + "images"));
/* /*
app.get("/images/:filename", function(req, res, next) { app.get("/images/:filename", function(req, res, next) {
let path = '/' + req.params.filename; let path = '/' + req.params.filename;