mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
try to disable possible cause of too many redirects
This commit is contained in:
parent
203d6d3ac2
commit
2760de7951
1 changed files with 0 additions and 3 deletions
|
|
@ -91,9 +91,6 @@ api.getNewClient = {
|
|||
method: 'GET',
|
||||
url: '/',
|
||||
async handler (req, res) {
|
||||
if (!(req.session && req.session.userId)) {
|
||||
return res.redirect('/');
|
||||
}
|
||||
return res.sendFile('./dist-client/index.html', {root: `${__dirname}/../../../../`});
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue