Skip to content

Commit

Permalink
fix(devBuilder): add missing csp source for firefox (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
samrum committed Mar 28, 2022
1 parent 40a23cf commit cb2f239
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/devBuilder/devBuilder.ts
Expand Up @@ -59,6 +59,7 @@ export default abstract class DevBuilder<
contentSecurityPolicy: string | undefined
): string {
const scriptSrcs = [
"'self'",
[...this.inlineScriptHashes].join(" "),
this.hmrServerOrigin,
];
Expand Down

0 comments on commit cb2f239

Please sign in to comment.