Skip to content

Commit

Permalink
Config update
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriibudko committed Nov 7, 2023
1 parent 6923135 commit fbea2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csp.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if (process.env.NODE_ENV !== 'production') {
// Allow connection to the local hosts in development:
// - local API is running on a different port
// - `localhost` and `127.0.0.1` are not the same domain technically
config['connect-src'].push('localhost:* 127.0.0.1:*')
config['connect-src'].push('localhost:* 127.0.0.1:* api-dev.core.ac.uk')
}

const policy = Object.entries(config)
Expand Down

0 comments on commit fbea2ec

Please sign in to comment.