projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
auth_hostname configuration setting renamed sp_auth_hostname
[mkws-moved-to-github.git]
/
src
/
mkws-core.js
diff --git
a/src/mkws-core.js
b/src/mkws-core.js
index
7a1054b
..
c331bc4
100644
(file)
--- a/
src/mkws-core.js
+++ b/
src/mkws-core.js
@@
-157,7
+157,7
@@
mkws.setMkwsConfig = function(overrides) {
pp2_hostname: "sp-mkws.indexdata.com",
pp2_path: "service-proxy/",
service_proxy_auth: undefined,
pp2_hostname: "sp-mkws.indexdata.com",
pp2_path: "service-proxy/",
service_proxy_auth: undefined,
- sp_auth_path: "service-proxy/",
+ sp_auth_path: undefined,
sp_auth_query: "command=auth&action=perconfig",
sp_auth_credentials: undefined,
lang: "",
sp_auth_query: "command=auth&action=perconfig",
sp_auth_credentials: undefined,
lang: "",
@@
-615,8
+615,9
@@
mkws.log("Using window.name '" + window.name + "'");
return config.service_proxy_auth;
} else {
var s = '//';
return config.service_proxy_auth;
} else {
var s = '//';
- s += config.auth_hostname ? config.auth_hostname : config.pp2_hostname;
- s += '/' + config.sp_auth_path;
+ s += config.sp_auth_hostname ? config.sp_auth_hostname : config.pp2_hostname;
+ s += '/';
+ s += config.sp_auth_path ? config.sp_auth_path : config.pp2_path;
var q = config.sp_auth_query;
if (q) {
s += '?' + q;
var q = config.sp_auth_query;
if (q) {
s += '?' + q;