Ghost Config Set Mistakenly

I mistakenly run the command:

ghost config [key] [value]

…and now it said successfully set ‘[key]’ to ‘[value]’.

Kindly someone please let me know how can I reverse this.

P.S. I haven’t restarted ghost yet.

Interesting problem, there isn’t really an unset. I think your best bet is to manually edit the config.[env].json file, remove the line that says:

"[key]":"[value]" and make sure that there is no dangling comma at the end of the file.

1 Like

Yeah I did the same and the problem was solved. Thank you so much for your response! :slight_smile: