summaryrefslogtreecommitdiff
path: root/cgi-bin/view
diff options
context:
space:
mode:
Diffstat (limited to 'cgi-bin/view')
-rwxr-xr-xcgi-bin/view2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/view b/cgi-bin/view
index f7435f3..d818519 100755
--- a/cgi-bin/view
+++ b/cgi-bin/view
@@ -6,7 +6,7 @@ use feature qw/switch/;
use CGI;
my $IN = new CGI;
-print $IN->header();
+print $IN->header(-type => 'application/json');
our $json = JSON->new->allow_nonref;
my $sql_username = "asdfus";