Skip to content

Instantly share code, notes, and snippets.

@iwootten
Last active December 23, 2015 21:59
Show Gist options
  • Select an option

  • Save iwootten/6700553 to your computer and use it in GitHub Desktop.

Select an option

Save iwootten/6700553 to your computer and use it in GitHub Desktop.
Additions made to Ghosts server.js in order to enable proper upload to db importer
server.use('/ghost/debug/db/import/', express.multipart());
server.use('/ghost/debug/db/import/', express.multipart({uploadDir: __dirname + '/content/data'}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment