Remove explicit port-8585 from local SP address.
authorMike Taylor <mike@indexdata.com>
Tue, 19 Aug 2014 17:06:46 +0000 (18:06 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 19 Aug 2014 17:06:46 +0000 (18:06 +0100)
Instead we will proxy this via Apache2.
That will allow us to add the Access-Control-Allow-Credentials header.

examples/htdocs/mike.html

index e48a0be..7a2b759 100644 (file)
@@ -8,11 +8,11 @@
         // For now, we have to provide known-bad credentials to skip user/pw login: see bug MKSP-125
         service_proxy_auth: undefined,
         // Was: //sp-mkws.indexdata.com/service-proxy/?command=auth&action=perconfig&username=XXX&password=XXX
-        pp2_hostname: "x.sp-mkws.indexdata.com:8585",
+        pp2_hostname: "x.sp-mkws.indexdata.com",
         sp_path: "service-proxy/",
         credentials: "XXX/XXX",
         // ### This should automatically follow pp2_hostname
-       pazpar2_url:        "//x.sp-mkws.indexdata.com:8585/service-proxy/",
+       pazpar2_url:        "//x.sp-mkws.indexdata.com/service-proxy/",
       };
     </script>
     <script type="text/javascript" src="tools/htdocs/jquery-1.10.0.min.js"></script>