We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54a6d19 commit 179634fCopy full SHA for 179634f
generate-firebase-json.js
@@ -42,19 +42,17 @@ const generateFirebaseJson = (
42
.replace(/\.html/, '')
43
.replace(/index/, '/')
44
.replace(/404/, '**/*');
45
- cspHeadersForSourceGlob = cspHeadersForSourceGlob.concat(
46
- [
47
- {
48
- source: sourceGlob,
49
- headers: [
50
51
- key: 'Content-Security-Policy',
52
- value: builtPolicy,
53
- }
54
- ],
55
56
- ]
57
- );
+ cspHeadersForSourceGlob = [
+ {
+ source: sourceGlob,
+ headers: [
+ key: 'Content-Security-Policy',
+ value: builtPolicy,
+ }
+ ],
+ ].concat(cspHeadersForSourceGlob);
58
59
transformerFirebase(cspHeadersForSourceGlob);
60
0 commit comments