|
|
|
@ -18,7 +18,7 @@ file.saveFileToLocal = function(filename, folder, tempPath, callback) {
|
|
|
|
|
|
|
|
|
|
is.on('end', function () {
|
|
|
|
|
callback(null, {
|
|
|
|
|
url: nconf.get('upload_url') + folder + '/' + filename
|
|
|
|
|
url: nconf.get('url') + '/uploads/' + folder + '/' + filename
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|