Currently we have a few places that use hardcoded production URLs, which means that we (QA) cannot always reliably verify stuff until it's already landed on production. Obviously waiting until something is deployed to production isn't always the best. Not sure if we can tweak any of these to point to the current environment, so we can test sharing and <meta> tags on dev/stage.
Most probably don't matter much (such as the xpi_url links, or package.json homepage, updateURL, or updateLink — but I'm not sure about the rest:
Ref #2684
Currently we have a few places that use hardcoded production URLs, which means that we (QA) cannot always reliably verify stuff until it's already landed on production. Obviously waiting until something is deployed to production isn't always the best. Not sure if we can tweak any of these to point to the current environment, so we can test sharing and
<meta>
tags on dev/stage.Most probably don't matter much (such as the
xpi_url
links, or package.jsonhomepage
,updateURL
, orupdateLink
— but I'm not sure about the rest:"homepage": "https://testpilot.firefox.com/",
"updateURL": "https://testpilot.firefox.com/static/addon/update.rdf",
"updateLink": "https://testpilot.firefox.com/static/addon/latest",
xpi_url: 'https://testpilot.firefox.com/files/min-vid/min-vid-0.3.0-fx.xpi',
xpi_url: 'https://testpilot.firefox.com/files/activitystream/latest'
xpi_url: 'https://testpilot.firefox.com/files/testpilot@cliqz.com/latest'
xpi_url: 'https://testpilot.firefox.com/files/@testpilot-containers/latest'
xpi_url: 'https://testpilot.firefox.com/files/@sloth/latest'
xpi_url: 'https://testpilot.firefox.com/files/@min-vid/latest'
xpi_url: 'https://testpilot.firefox.com/files/nomore404s/latest'
xpi_url: 'https://testpilot.firefox.com/files/notes@mozilla.com/latest'
xpi_url: 'https://testpilot.firefox.com/files/pageshot/latest'
xpi_url: 'https://testpilot.firefox.com/files/pulse@mozilla.com/latest'
xpi_url: 'https://testpilot.firefox.com/files/snoozetabs@mozilla.com/latest'
xpi_url: 'https://testpilot.firefox.com/files/tabcentertest1@mozilla.com/latest'
xpi_url: 'https://testpilot.firefox.com/files/blok/latest'
xpi_url: 'https://testpilot.firefox.com/files/speaktome@mozilla.com/latest'
PRODUCTION_EXPERIMENTS_URL: 'https://testpilot.firefox.com/api/experiments',
const url = `https://testpilot.firefox.com/?utm_source=${medium}&utm_medium=social&utm_campaign=share-page`;
const sourceUrl = source \|\| 'https://testpilot.firefox.com/';
favicon: 'https://testpilot.firefox.com/static/images/favicon.ico',
rss: 'https://testpilot.firefox.com/feed.rss',
atom: 'https://testpilot.firefox.com/feed.atom',
json: 'https://testpilot.firefox.com/feed.json'
item.link = `https://testpilot.firefox.com/experiments/${experimentSlug}/#${slug}`;
item.link = `https://testpilot.firefox.com/experiments/#${slug}`;
<link rel="canonical" href={ `https://testpilot.firefox.com/${canonical_path}` } />
"homepage": "https://testpilot.firefox.com/",
proxy_pass https://testpilot.firefox.com/files/;