diff --git a/src/index.ts b/src/index.ts index 9f40765..5f15359 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,7 +25,7 @@ app.use(helmet({ contentSecurityPolicy: { directives: { defaultSrc: ["'self'"], - scriptSrc: ["'self'", "https://unpkg.com"], + scriptSrc: ["'self'", "https://unpkg.com", "'unsafe-inline'"], styleSrc: ["'self'", "https://unpkg.com"], imgSrc: ["'self'", "data:", "https:"], connectSrc: ["'self'", "https://unpkg.com"],