2 Commits e34deb0815 ... 62b2df740e

Author SHA1 Message Date
  Tom McKenzie 62b2df740e content-type 2 years ago
  Tom McKenzie e34deb0815 content-type 2 years ago
1 changed files with 1 additions and 1 deletions
  1. 1 1
      metrics.pl

+ 1 - 1
metrics.pl

@@ -41,7 +41,7 @@ while (my $c = $d->accept) {
 }
 
 sub generate_response {
-    my $response = "Content-Type: text/plain\n\n";
+    my $response = "";
 
     my $json_data = `$vnstat_cmd --json s 1`;