From e01b6501d0b3f10f4a887ee6af4c3a3cb2af315e Mon Sep 17 00:00:00 2001 From: Bo Frederiksen Date: Sat, 2 Apr 2022 15:16:15 +0200 Subject: [PATCH] Added the correct content-type for the dashboard plugins feed. (#5666) --- src/www/widgets/api/get.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/www/widgets/api/get.php b/src/www/widgets/api/get.php index 19be68cff..0e7bc3e59 100644 --- a/src/www/widgets/api/get.php +++ b/src/www/widgets/api/get.php @@ -31,6 +31,7 @@ collected data. */ +header("Content-Type: application/json"); header("Last-Modified: " . gmdate( "D, j M Y H:i:s" ) . " GMT" ); header("Expires: " . gmdate( "D, j M Y H:i:s", time() ) . " GMT" ); header("Cache-Control: no-store, no-cache, must-revalidate" );