mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-13 20:57:24 +01:00
fix(CSP): unsafe-eval
This commit is contained in:
@@ -74,8 +74,7 @@ export default function attachMiddlewares (app, server) {
|
|||||||
],
|
],
|
||||||
imgSrc: null,
|
imgSrc: null,
|
||||||
scriptSrc: [
|
scriptSrc: [
|
||||||
'*.habitica.com',
|
'unsafe-eval',
|
||||||
'*.amazonaws.com',
|
|
||||||
'cloudfront.loggly.com',
|
'cloudfront.loggly.com',
|
||||||
'js.stripe.com',
|
'js.stripe.com',
|
||||||
'm.stripe.network',
|
'm.stripe.network',
|
||||||
|
|||||||
Reference in New Issue
Block a user