From 21395df0db08a4ad1e214b479404b1f58ca93421 Mon Sep 17 00:00:00 2001 From: Rob Wu Date: Sun, 26 May 2019 11:21:19 +0200 Subject: [PATCH] Use subdomain instead of FQDN for AMO front This is to automatically include relevant cookies, in particular to allow non-public extensions to be viewed if the user is signed in. --- src/domain-fronter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain-fronter.js b/src/domain-fronter.js index 392c0eb..1a0af4b 100644 --- a/src/domain-fronter.js +++ b/src/domain-fronter.js @@ -18,7 +18,7 @@ (() => { let DOMAIN_FRONTS = new Map(); - DOMAIN_FRONTS.set('addons.mozilla.org', 'addons.mozilla.org.'); + DOMAIN_FRONTS.set('addons.mozilla.org', 'reviewers.addons.mozilla.org'); DOMAIN_FRONTS.set('addons.cdn.mozilla.net', 'addons.cdn.mozilla.net.'); const REQUEST_ID_HEADER = 'random-id-to-map-xhr-to-domain-fronter';