sw
This commit is contained in:
parent
38ef52d3ba
commit
62ed0a411f
16 changed files with 245 additions and 133 deletions
|
@ -1,4 +1,5 @@
|
|||
const config = require('../config');
|
||||
const assets = require('../../common/assets');
|
||||
|
||||
let sentry = '';
|
||||
if (config.sentry_id) {
|
||||
|
@ -36,6 +37,7 @@ if (isIE && !isUnsupportedPage) {
|
|||
}
|
||||
var MAXFILESIZE = ${config.max_file_size};
|
||||
var EXPIRE_SECONDS = ${config.expire_seconds};
|
||||
var SERVICEWORKER = '${assets.get('serviceWorker.js')}';
|
||||
${ga}
|
||||
${sentry}
|
||||
`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue