Settings to work with purely local MacBook installation.
authorMike Taylor <mike@indexdata.com>
Mon, 11 Aug 2014 11:38:19 +0000 (12:38 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 11 Aug 2014 11:38:19 +0000 (12:38 +0100)
examples/htdocs/mike.html

index 934fd6e..e48a0be 100644 (file)
@@ -5,16 +5,17 @@
     <link rel="stylesheet" type="text/css" href="tools/htdocs/mkws.css" />
     <script type="text/javascript">
       var mkws_config = {
-       pazpar2_url:        "//sp-mkws.indexdata.com/service-proxy/",
         // 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: "sp-mkws.indexdata.com",
-//        sp_path: "service-proxy/",
-//        credentials: "XXX/XXX",
+        pp2_hostname: "x.sp-mkws.indexdata.com:8585",
+        sp_path: "service-proxy/",
+        credentials: "XXX/XXX",
+        // ### This should automatically follow pp2_hostname
+       pazpar2_url:        "//x.sp-mkws.indexdata.com:8585/service-proxy/",
       };
     </script>
-    <script type="text/javascript" src="//code.jquery.com/jquery-1.10.0.min.js"></script>
+    <script type="text/javascript" src="tools/htdocs/jquery-1.10.0.min.js"></script>
     <script type="text/javascript" src="tools/htdocs/jquery.json-2.4.js"></script>
     <script type="text/javascript" src="tools/htdocs/handlebars-v1.1.2.js"></script>
     <script type="text/javascript" src="tools/htdocs/pz2.js"></script>