This commit is contained in:
Joshua Fontany
2021-03-26 08:41:41 +00:00
committed by GitHub
parent a2e7cc51b5
commit 5be647b610
@@ -25,8 +25,9 @@ exports.handler = function(request,response,state) {
response.end();
} else {
// Redirect to the root wiki if login worked
var location = ($tw.syncadaptor && $tw.syncadaptor.host)? $tw.syncadaptor.host: "/";
response.writeHead(302,{
Location: "/"
Location: location
});
response.end();
}