Skip to content

Commit

Permalink
Fix CSP to allow emotion to work
Browse files Browse the repository at this point in the history
paustint committed Jan 20, 2025
1 parent 4d46537 commit ad48614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/main.ts
Original file line number Diff line number Diff line change
@@ -189,7 +189,7 @@ if (ENV.NODE_ENV === 'production' && !ENV.CI && cluster.isPrimary) {
'https://js.stripe.com',
],
scriptSrcAttr: ["'none'"],
styleSrc: ["'self'", 'https:', "'unsafe-inline'", "'sha256-0hAheEzaMe6uXIKV4EehS9pu1am1lj/KnnzrOYqckXk='"],
styleSrc: ["'self'", 'https:', "'unsafe-inline'"],
upgradeInsecureRequests: ENV.ENVIRONMENT === 'development' ? null : [],
},
},

0 comments on commit ad48614

Please sign in to comment.