Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Created April 6, 2014 18:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/10009864 to your computer and use it in GitHub Desktop.
Save anonymous/10009864 to your computer and use it in GitHub Desktop.
content path after upload in ghost
My config.js ...
config = {
// ### Development **(default)**
development: {
url: 'http://192.168.33.10',
database: {
client: 'sqlite3',
connection: {
filename: path.join(__dirname, 'var/ghostcms/content/data/ghost-dev.db')
},
debug: false
},
server: {
host: '0.0.0.0'
},
paths: {
contentPath: path.join(__dirname, 'var/ghostcms/content/')
}
}
After successful upload, the upload modal tries to access png at:
http://192.168.33.10/var/ghostcms/content/images/2014/Apr/fielddream-6.png
When it is actually at:
http://192.168.33.10/content/images/2014/Apr/fielddream-6.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment