Last active
December 23, 2015 21:59
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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