Unverified Commit 48b502a3 authored by Paul Kaplan's avatar Paul Kaplan Committed by GitHub

Enable chrome app feature flag

parent 94f52baf
// eslint-disable-next-line no-unused-vars
const isStaging = () => process.env.SCRATCH_ENV === 'staging';
// eslint-disable-next-line no-unused-vars
const flagInUrl = flag => {
const url = (window.location && window.location.search) || '';
return url.indexOf(`${flag}=true`) !== -1;
};
module.exports = {
CHROME_APP_RELEASED: isStaging() && flagInUrl('CHROME_APP_RELEASED')
CHROME_APP_RELEASED: true
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment