JSON tech support needed ๐Ÿฅบ

Hello Fedi friends!

I set up a self-hosted Ghost blog... which keeps going offline whenever I share a link to it from Mastodon.

Apparently the culprit is the cache control header: "MaxAge=0" (thanks Renaud for pointing it out).

I added a caching prompt to config.production.json (ref: ghost.org/docs/config/#caching) but then I get the message "Config file is not valid JSON".

What am I doing wrong?

If you help me solve this you'll have my eternal gratitude ๐Ÿค—

a screenshot from Terminal showing how I added the caching code to config.production.json. Everything in green works... the new code (circled in red) gives me error messages
0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/_elena/statuses/114261844953661223 on your instance and quote it. (Note that quoting is not supported in Mastodon.)