Skip to content

Commit

Permalink
fix(editor): add uploads dir to site download zip
Browse files Browse the repository at this point in the history
  • Loading branch information
thnkloud9 committed Mar 15, 2018
1 parent c1bdc01 commit 34bc2c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routes/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ router.get('/download', function (req, res) {
.file(path.resolve(PUBLIC_FOLDER, 'app.css'), {name: 'app.css'})
.file(path.resolve(PUBLIC_FOLDER, 'app.js'), {name: 'app.js'})
.directory(path.resolve(PUBLIC_FOLDER, 'img'), 'img')
.directory(path.resolve(PUBLIC_FOLDER, 'uploads'), 'uploads')
.finalize();

});
Expand Down

0 comments on commit 34bc2c7

Please sign in to comment.