Skip to content

Commit f49ad30

Browse files
committed
docs: update config example
1 parent e5dacf0 commit f49ad30

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@ module.exports = require('ghost-firebase-storage-adapter');
5252
- Add a `storage` block to your config.${GHOST_ENVIRONMENT}.json as shown below:
5353

5454
```json
55-
"serviceAccount": "./path/to/service/account.json",
56-
"bucketName": "bucket-name",
57-
"basePath": "base path for saving uploads",
58-
"uploadOptions": {
59-
"gzip": true,
60-
"metadata": {
61-
"cacheControl": "public, max-age=31536000"
55+
"storage": {
56+
"serviceAccount": "./path/to/service/account.json",
57+
"bucketName": "bucket-name",
58+
"basePath": "base path for saving uploads",
59+
"uploadOptions": {
60+
"gzip": true,
61+
"metadata": {
62+
"cacheControl": "public, max-age=31536000"
63+
}
6264
}
6365
}
6466
```

0 commit comments

Comments
 (0)