mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
adding support for snappymail in subdirectories
This commit is contained in:
parent
8d3f4f5e1d
commit
6ef3390080
|
@ -11,11 +11,11 @@
|
|||
ForwardProxyAuth = () => {
|
||||
if (auto_login) {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", "/?UserHeaderSet", true);
|
||||
xhr.open("GET", "?UserHeaderSet", true);
|
||||
|
||||
xhr.onreadystatechange = function () {
|
||||
if (xhr.readyState == 4 && xhr.status == 200) {
|
||||
window.location.href = "/?ProxyAuth";
|
||||
window.location.href = "?ProxyAuth";
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue