diff options
| author | Pitu <[email protected]> | 2017-10-03 23:45:23 -0300 |
|---|---|---|
| committer | Pitu <[email protected]> | 2017-10-03 23:45:23 -0300 |
| commit | 54a262ef95ccb6d587e9e845bc96f78775381287 (patch) | |
| tree | 55556c7d168eb1005b67ceed9c5b9952dfd39f55 | |
| parent | Renaming and version bump (diff) | |
| download | host.fuwn.me-54a262ef95ccb6d587e9e845bc96f78775381287.tar.xz host.fuwn.me-54a262ef95ccb6d587e9e845bc96f78775381287.zip | |
Fixes serving the actual configured uploads folder
| -rw-r--r-- | lolisafe.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lolisafe.js b/lolisafe.js index 33daf4e..61a95ec 100644 --- a/lolisafe.js +++ b/lolisafe.js @@ -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')); |