repo.or.cz
/
gitter.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git]
/
server
/
utils
/
unauthorized-redirect-map.js
blob
00c1528bbdfba6ee98677eb3bec441c57247cd66
1
'use strict'
;
2
3
const
UNAUTHORIZED_REDIRECT_MAP
= {
4
TOKEN_REVOKED_URL
:
'/login/token-revoked'
,
5
USER_AGENT_REVOKED_URL
:
'/login/user-agent-revoked'
,
6
LOGIN_URL
:
'/login'
7
};
8
9
module
.
exports
=
UNAUTHORIZED_REDIRECT_MAP
;