change mime type of json methods from text/json to application/json
This commit is contained in:
parent
913ed8ec26
commit
e92017500e
8 changed files with 14 additions and 13 deletions
|
|
@ -52,7 +52,7 @@ Checks to ensure the requestor is who we think it is, and then returns a JSON st
|
|||
|
||||
sub www_spectreGetSiteData {
|
||||
my $session = shift;
|
||||
$session->http->setMimeType("text/json");
|
||||
$session->http->setMimeType("application/json");
|
||||
$session->http->setCacheControl("none");
|
||||
my %siteData = ();
|
||||
my $subnets = $session->config->get("spectreSubnets");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue