summaryrefslogtreecommitdiff
path: root/pinyweb/cgi-bin
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 19:58:47 -0800
committerJulian Blake Kongslie <jblake@omgwallhack.org>2011-01-18 19:58:47 -0800
commit440828df27d582be10ed3d131216f9e074b6ab29 (patch)
tree746130be0c7884b0cb214cd3f24cd86168458aae /pinyweb/cgi-bin
parent08933e7b90bfb5c24c35148a756e67c5b5ca97bb (diff)
downloadpiny-code-440828df27d582be10ed3d131216f9e074b6ab29.tar.gz
piny-code-440828df27d582be10ed3d131216f9e074b6ab29.zip
and another one
Diffstat (limited to 'pinyweb/cgi-bin')
-rwxr-xr-xpinyweb/cgi-bin/checkconstraint.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/pinyweb/cgi-bin/checkconstraint.cgi b/pinyweb/cgi-bin/checkconstraint.cgi
index b05eaf5..4ff939c 100755
--- a/pinyweb/cgi-bin/checkconstraint.cgi
+++ b/pinyweb/cgi-bin/checkconstraint.cgi
@@ -12,7 +12,7 @@ use Piny;
my $q = CGI->new( );
if ( $q->request_method( ) eq "OPTIONS" ) {
- print "Status: 204 No Content\nAccess-Control-Allow-Headers: *\nAccess-Control-Allow-Methods: GET, OPTIONS, POST\nAccess-Control-Allow-Origin: *\n\n";
+ print "Status: 204 No Content\nAccess-Control-Allow-Headers: *\nAccess-Control-Allow-Methods: GET, OPTIONS, POST\nAccess-Control-Allow-Origin: *\nAccess-Control-Max-Age: 3600\n\n";
} else {
my $type = $q->param( 't' );