mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 07:21:15 +00:00
add beta redirect to main site until we get a new beta up
This commit is contained in:
parent
8e922bb151
commit
2ec5a930a6
1 changed files with 4 additions and 0 deletions
|
|
@ -1,4 +1,8 @@
|
|||
splash = (req, res, next) ->
|
||||
|
||||
return res.redirect("https://habitrpg.com")
|
||||
|
||||
|
||||
isStatic = req.url.split('/')[1] is 'static'
|
||||
unless req.query?.play? or req.getModel().get('_userId') or isStatic
|
||||
res.redirect('/static/front')
|
||||
|
|
|
|||
Loading…
Reference in a new issue