From e4c7df377b697e0f527e63015204ac669ce7dc9e Mon Sep 17 00:00:00 2001 From: GeoffreyCoulaud Date: Sat, 14 Dec 2024 15:22:23 +0100 Subject: [PATCH] Updated to return text/plain content type --- metrics | 1 + 1 file changed, 1 insertion(+) diff --git a/metrics b/metrics index 20a5ae3..abe88f8 100644 --- a/metrics +++ b/metrics @@ -23,6 +23,7 @@ if ($switch_id === false) { } # For simplicity's sake, I've broken up the two different api accesses into different files for my own peace of mind +header("Content-Type: text/plain"); switch ($generation) { case 1: require "shellygen1";