Fixed upload path

This commit is contained in:
Dobie Wollert
2016-02-08 00:29:20 -05:00
parent 26111f4697
commit 655df7d52d

View File

@ -151,7 +151,7 @@ exports.upload = function(req, res, next) {
fs.readFile(path, function(err, data) {
var hash = md5(data);
fs.writeFile('/srv/biomed-site/images/' + hash, data, function(err) {
fs.writeFile('/opt/biomed-site/images/' + hash, data, function(err) {
if (err)
log.error("Error: %s", err);