зеркало из https://github.com/mozilla/fxa.git
Merge pull request mozilla/123done#58 from jedp/target-native
add retarget rule for native persona
This commit is contained in:
Коммит
a5220558ee
|
@ -22,6 +22,7 @@ module.exports = function(req, res, next) {
|
|||
else if (host === 'www.123done.org') req.persona_url = 'https://login.persona.org';
|
||||
else if (host === 'beta.123done.org') req.persona_url = 'https://login.anosrep.org';
|
||||
else if (host === 'dev.123done.org') req.persona_url = 'https://login.dev.anosrep.org';
|
||||
else if (host === 'native.123done.org') req.persona_url = 'https://login.native-persona.org';
|
||||
else if (/\.123done\.org$/.test(host)) {
|
||||
req.persona_url = 'https://' + host.substr(0, host.length - 12) + '.personatest.org';
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче