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:
parent
56448b4ea4
commit
273e2172cb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue