update proxy for htttps develop
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 19 Dec 2018 15:33:03 +0000 (10:33 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 19 Dec 2018 15:33:03 +0000 (10:33 -0500)
proxy.php

index 84e4ff8..249d13e 100644 (file)
--- a/proxy.php
+++ b/proxy.php
@@ -5,9 +5,9 @@
 
         // set url
         if ($option == 'top-bar') {
-            curl_setopt($ch, CURLOPT_URL, "http://www.gaylordgolfmecca.com/nav.php");
+            curl_setopt($ch, CURLOPT_URL, "https://www.gaylordgolfmecca.com/nav.php");
         } else if ($option == 'off-canvas') {
-            curl_setopt($ch, CURLOPT_URL, "http://www.gaylordgolfmecca.com/off-canvas-nav.php");
+            curl_setopt($ch, CURLOPT_URL, "https://www.gaylordgolfmecca.com/off-canvas-nav.php");
         }
 
         //return the transfer as a string
@@ -17,6 +17,6 @@
         $output = curl_exec($ch);
 
         // close curl resource to free up system resources
-        curl_close($ch);     
+        curl_close($ch);
         echo $output;
-?>
\ No newline at end of file
+?>