Skip to content

Commit

Permalink
fix CSP typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tihuan committed Mar 26, 2021
1 parent 1b39ccd commit cdd2557
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ module.exports = withImages({
headers: createSecureHeaders({
contentSecurityPolicy: {
directives: {
baseUri: "self",
baseUri: "'self'",
connectSrc: [
"'self'",
"sentry.prod.si.czi.technology",
configs.API_URL,
],
defaultSrc: ["'self'"],
fontSrc: ["'self'", "https://fonts.gstatic.com"],
formAction: "self",
formAction: "'self'",
frameAncestors: ["'none'"],
imgSrc: ["'self'", "data:"],
mediaSrc: ["self"],
manifestSrc: ["self"],
mediaSrc: ["'self'"],
manifestSrc: ["'self'"],
objectSrc: ["'none'"],
reportURI:
configs.SENTRY_DEPLOYMENT_ENVIRONMENT &&
Expand Down

0 comments on commit cdd2557

Please sign in to comment.