summaryrefslogtreecommitdiff
path: root/cgi-bin/view
diff options
context:
space:
mode:
authorJules <jules@asdf.us>2014-01-26 04:39:12 -0500
committerJules <jules@asdf.us>2014-01-26 04:39:12 -0500
commitfef2b0538981ec5fcb6c8b91f1bfceac24a9e43e (patch)
tree688b5afe6d3e7f31bd214d19ae285ba2eb7ecf6c /cgi-bin/view
parentc030a4c619c4fc6182cc9b266241ce1970174a40 (diff)
updates to cgis
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";