mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 17:58:17 +01:00
add static lol
This commit is contained in:
parent
023a373b1d
commit
a70df2302f
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ module.exports = function (app, config, renderTemplate) {
|
||||||
const minimizedCss = new CleanCSS().minify(css).styles;
|
const minimizedCss = new CleanCSS().minify(css).styles;
|
||||||
// Serve the minimized CSS file
|
// Serve the minimized CSS file
|
||||||
res.header("Content-Type", "text/css");
|
res.header("Content-Type", "text/css");
|
||||||
res.send(notice + " " + minimizedCss);
|
res.send(notice + " " + minimizedCss.replace("https://p.poketube.fun", config.p_url));
|
||||||
} else {
|
} else {
|
||||||
// Serve the original file
|
// Serve the original file
|
||||||
res.sendFile(req.params.id, { root: html_location });
|
res.sendFile(req.params.id, { root: html_location });
|
||||||
|
|
Loading…
Reference in a new issue