projects
/
lantea.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
070d28b
)
make redirect URI also work if index.html is called specifically
author
Robert Kaiser
<kairo@kairo.at>
Tue, 3 Oct 2017 16:48:24 +0000
(18:48 +0200)
committer
Robert Kaiser
<kairo@kairo.at>
Tue, 3 Oct 2017 16:48:24 +0000
(18:48 +0200)
js/ui.js
patch
|
blob
|
blame
|
history
diff --git
a/js/ui.js
b/js/ui.js
index d8953ad0df4b9a7815bd3a5db4bb64056f113db9..02e294735001bdd228469e4bdd450f137d60b7d4 100644
(file)
--- a/
js/ui.js
+++ b/
js/ui.js
@@
-135,7
+135,7
@@
function startLogin() {
}
function getRedirectURI() {
- return window.location.protocol + '//' + window.location.host + window.location.pathname + "login.html";
+ return window.location.protocol + '//' + window.location.host + window.location.pathname
.replace("index.html", "")
+ "login.html";
}
function doLogout() {