ghost-oss-store
ghost-oss-store copied to clipboard
Ghost Aliyun OSS storage module.
when I used this storage adapter, the image url always is `http` rather than `https`. when I check the OSS SDK documentation, it shows that we should add `secure: true`...
{"name":"Log","hostname":"ubuntu","pid":27979,"level":50,"err":{"id":"8f2c4ed0-723c-11e8-9846-f9cf5235d1a3","domain":"https://www.wanily.com","code":"MODULE_NOT_FOUND","name":"IncorrectUsageError","statusCode":400,"level":"critical","message":"We detected a misuse. Please read the stack trace.","context":"We cannot find your adapter in: /www/wwwroot/wanily/content/adapters/storage/ or: /www/wwwroot/wanily/core/server/adapters/storage/","stack":"IncorrectUsageError: We detected a misuse. Please read the stack trace.\n at new IncorrectUsageError (/www/wwwroot/wanily/node_modules/ghost-ignition/lib/errors/index.js:79:23)\n...
``` We cannot find your adapter in: /var/lib/ghost/content/adapters/storage/ or: /var/lib/ghost/versions/1.23.0/core/server/adapters/storage/ IncorrectUsageError: We detected a misuse. Please read the stack trace. at new IncorrectUsageError (/var/lib/ghost/versions/1.23.0/node_modules/ghost-ignition/lib/errors/index.js:79:23) at Object.getStorage (/var/lib/ghost/versions/1.23.0/core/server/adapters/storage/index.js:60:19) at setupSiteApp (/var/lib/ghost/versions/1.23.0/core/server/web/site/app.js:74:73)...
But there is no "config.js" file in ghost 1.21.2 how can i configure my oss-store maybe config.[env].json? if i configure config.production.json file ,then ghost can not restart! **Ghost-cli version 1.5.2...