mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-04 04:59:40 +00:00
Add missing space
This commit is contained in:
parent
e6c1b69cb0
commit
82d2d6507f
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ function nonApiUrl(req) {
|
||||||
module.exports.forceHabitica = function(req, res, next) {
|
module.exports.forceHabitica = function(req, res, next) {
|
||||||
var ignoreRedirect = nconf.get('IGNORE_REDIRECT');
|
var ignoreRedirect = nconf.get('IGNORE_REDIRECT');
|
||||||
|
|
||||||
if(IS_PROD && !ignoreRedirect && !isProxied(req) && nonApiUrl(req)) {
|
if (IS_PROD && !ignoreRedirect && !isProxied(req) && nonApiUrl(req)) {
|
||||||
return res.redirect('https://habitica.com' + req.url);
|
return res.redirect('https://habitica.com' + req.url);
|
||||||
}
|
}
|
||||||
next();
|
next();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue