mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-25 23:03:15 +00:00
Fix 4461 (#5522)
This commit is contained in:
parent
a2e7cc51b5
commit
5be647b610
|
@ -25,8 +25,9 @@ exports.handler = function(request,response,state) {
|
||||||
response.end();
|
response.end();
|
||||||
} else {
|
} else {
|
||||||
// Redirect to the root wiki if login worked
|
// Redirect to the root wiki if login worked
|
||||||
|
var location = ($tw.syncadaptor && $tw.syncadaptor.host)? $tw.syncadaptor.host: "/";
|
||||||
response.writeHead(302,{
|
response.writeHead(302,{
|
||||||
Location: "/"
|
Location: location
|
||||||
});
|
});
|
||||||
response.end();
|
response.end();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user