mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-05 19:40:09 +00:00
Fixes serving the actual configured uploads folder
This commit is contained in:
parent
4b0b015c41
commit
54a262ef95
@ -32,7 +32,7 @@ safe.use(bodyParser.urlencoded({ extended: true }));
|
|||||||
safe.use(bodyParser.json());
|
safe.use(bodyParser.json());
|
||||||
|
|
||||||
if (config.serveFilesWithNode) {
|
if (config.serveFilesWithNode) {
|
||||||
safe.use('/', express.static('./uploads'));
|
safe.use('/', express.static(config.uploads.folder));
|
||||||
}
|
}
|
||||||
|
|
||||||
safe.use('/', express.static('./public'));
|
safe.use('/', express.static('./public'));
|
||||||
|
Loading…
Reference in New Issue
Block a user