From f0e11be75f4aca9ffe5a8145488ddb761224e0d0 Mon Sep 17 00:00:00 2001 From: Jed Parsons Date: Thu, 14 Mar 2013 07:35:18 -0700 Subject: [PATCH] add retarget rule for native persona --- packages/123done/retarget.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/123done/retarget.js b/packages/123done/retarget.js index ad3e80b374..6f95b6dbc1 100644 --- a/packages/123done/retarget.js +++ b/packages/123done/retarget.js @@ -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 {