From ca45864b1a9f10a2478df22426377eb9298e9e35 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sun, 23 Jul 2023 19:42:25 +1000 Subject: [PATCH] Try lower cased JSON --- app/actions/site/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/actions/site/config.rb b/app/actions/site/config.rb index b9826df..e39cdbf 100644 --- a/app/actions/site/config.rb +++ b/app/actions/site/config.rb @@ -8,7 +8,7 @@ module Adamantium def handle(req, res) if req.params[:q] == "config" res.status = 200 - res.content_type = "Application/JSON" + res.content_type = "application/json" res.body = { "media-endpoint" => settings.micropub_media_endpoint, # "destination" => [