Created
April 6, 2014 18:34
-
-
Save anonymous/10009864 to your computer and use it in GitHub Desktop.
content path after upload in ghost
This file contains 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
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