diff options
author | NV | 2017-02-09 14:07:36 +0900 |
---|---|---|
committer | NV | 2017-02-09 14:07:36 +0900 |
commit | 90c83ebd5b5610652c9bc8ae81299e85fe7056ef (patch) | |
tree | 63b05ad7771921461c849230f53dbab6bddb1abf | |
parent | 6587e7ccc645a1207190a135f0454ddfc0cd9776 (diff) |
Fix image path problem when using filesystem backend
Diffstat (limited to '')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -502,7 +502,7 @@ app.post('/uploadimage', function (req, res) { switch (config.imageUploadType) { case 'filesystem': res.send({ - link: url.resolve(config.serverurl, files.image.path.match(/^public(.+$)/)[1]) + link: url.resolve(config.serverurl + '/', files.image.path.match(/^public\/(.+$)/)[1]) }); break; |