Skip to content

Commit

Permalink
Add ingestion gamma endpoint to CSP (#1687)
Browse files Browse the repository at this point in the history
  • Loading branch information
devalevenkatesh authored Oct 15, 2021
1 parent 7247b80 commit cb085ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions demos/browser/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ if (!csp['script-src'].includes("'unsafe-eval'")) {
csp['script-src'] += " 'unsafe-eval'";
}

// 5. Access to event ingestion gamma endpoint for testing and canaries.
csp['connect-src'] += ' https://*.ingest.gchime.aws';

module.exports = env => {
console.info('Env:', JSON.stringify(env, null, 2));
console.info('App:', process.env.npm_config_app);
Expand Down

0 comments on commit cb085ee

Please sign in to comment.