check the docs, there is no such option sirs

This commit is contained in:
RealBeepMcJeep 2023-08-30 09:20:22 -07:00
parent 398544407d
commit f3f9efb163
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ app.use(function (req, res, next) {
}); });
app.use(express.static(process.cwd() + "/public", { refresh: true })); app.use(express.static(process.cwd() + "/public", {}));
app.use('/backgrounds', (req, res) => { app.use('/backgrounds', (req, res) => {
const filePath = decodeURIComponent(path.join(process.cwd(), 'public/backgrounds', req.url.replace(/%20/g, ' '))); const filePath = decodeURIComponent(path.join(process.cwd(), 'public/backgrounds', req.url.replace(/%20/g, ' ')));