mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-12 23:46:22 +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());
|
||||
|
||||
if (config.serveFilesWithNode) {
|
||||
safe.use('/', express.static('./uploads'));
|
||||
safe.use('/', express.static(config.uploads.folder));
|
||||
}
|
||||
|
||||
safe.use('/', express.static('./public'));
|
||||
|
Loading…
Reference in New Issue
Block a user