From 8f8d7d7d986681ecbe392103df503a52167483a0 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 12 Nov 2013 11:19:14 +0000 Subject: [PATCH] Simplify defaulting --- tools/htdocs/mkws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 645e224..ff6a0b2 100644 --- 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; -- 1.7.10.4