projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
16aed0a
)
Simplify defaulting
author
Mike Taylor
<mike@indexdata.com>
Tue, 12 Nov 2013 11:19:14 +0000
(11:19 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 12 Nov 2013 11:19:14 +0000
(11:19 +0000)
tools/htdocs/mkws.js
patch
|
blob
|
history
diff --git
a/tools/htdocs/mkws.js
b/tools/htdocs/mkws.js
index
645e224
..
ff6a0b2
100644
(file)
--- a/
tools/htdocs/mkws.js
+++ b/
tools/htdocs/mkws.js
@@
-22,7
+22,7
@@
if (!mkws_config)
if (typeof mkws_config.use_service_proxy === 'undefined')
mkws_config.use_service_proxy = true;
-var pazpar2_url = mkws_config.pazpar2_url ? mkws_config.pazpar2_url : "http://mkws.indexdata.com/service-proxy/";
+var pazpar2_url = mkws_config.pazpar2_url || "http://mkws.indexdata.com/service-proxy/";
mkws.pazpar2path = pazpar2_url;
mkws.usesessions = mkws_config.use_service_proxy ? false : true;