mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
12 lines
348 B
JavaScript
12 lines
348 B
JavaScript
// 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: true
|
|
};
|