]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Adding Cross Origin Headers for Inliner on Foundation Marketing Site
authorArthur <arthur@zurb.com>
Thu, 29 Oct 2015 18:57:55 +0000 (11:57 -0700)
committerArthur <arthur@zurb.com>
Thu, 29 Oct 2015 18:57:55 +0000 (11:57 -0700)
skate-proxy.php

index 91e8e489453fe5e682aa25ebb189806d8fb3f9de..5c5f92766f2288022d573828943cee7cc65331f9 100644 (file)
@@ -1,5 +1,6 @@
-<?php 
-
+<?php
+header('content-type: application/json; charset=utf-8');
+header("access-control-allow-origin: *");
 $url = "http://skate.zurb.com/api/v1/raw";
 
 
@@ -11,4 +12,4 @@ curl_setopt($ch,CURLOPT_POSTFIELDS, file_get_contents("php://input"));
 curl_exec($ch);
 curl_close($ch);
 
-?>
\ No newline at end of file
+?>