Added the correct content-type for the dashboard plugins feed. (#5666)

This commit is contained in:
Bo Frederiksen 2022-04-02 15:16:15 +02:00 committed by GitHub
parent 5aaa603d4c
commit e01b6501d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" );