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
(parent:
85ba8bc
)
configurable service proxy auth URL
author
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 20 Jun 2013 13:29:57 +0000
(13:29 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Thu, 20 Jun 2013 13:29:57 +0000
(13:29 +0000)
experiments/spclient/mkws.js
patch
|
blob
|
history
diff --git
a/experiments/spclient/mkws.js
b/experiments/spclient/mkws.js
index
d8f43e3
..
1ad3875
100644
(file)
--- a/
experiments/spclient/mkws.js
+++ b/
experiments/spclient/mkws.js
@@
-493,8
+493,11
@@
function mkws_html_perpage(config) {
* The username/password is configured in the apache config file
* for the site.
*/
-function mkws_service_proxy_auth() {
- var jqxhr = jQuery.get("/service-proxy-auth")
+function mkws_service_proxy_auth(auth_url) {
+ if (!auth_url)
+ auth_url = "/service-proxy-auth";
+
+ var jqxhr = jQuery.get(auth_url);
.fail(function() {
alert("service proxy authentication failed, give up!");
})