0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Bugfix: data export path wasn't changed during restructure

This commit is contained in:
ErisDS 2013-07-22 15:10:17 +01:00
parent 56448b4ea4
commit 273e2172cb

View file

@ -167,7 +167,7 @@ adminControllers = {
})
.then(function (exportedData) {
// Save the exported data to the file system for download
var fileName = path.resolve(__dirname + '/../../shared/data/export/exported-' + (new Date().getTime()) + '.json');
var fileName = path.resolve(__dirname + '/../../server/data/export/exported-' + (new Date().getTime()) + '.json');
return nodefn.call(fs.writeFile, fileName, JSON.stringify(exportedData)).then(function () {
return when(fileName);