Skip to content

Commit 1119fe3

Browse files
feat(core): ARC-78 added csp
feat(security): implement CSP via react-helmet-async in React frontend
1 parent 576af26 commit 1119fe3

File tree

7 files changed

+722
-22
lines changed

7 files changed

+722
-22
lines changed

.env.development.example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
VITE_CSP_DEFAULT_SRC=
2+
VITE_CSP_SCRIPT_SRC=
3+
VITE_CSP_STYLE_SRC=
4+
VITE_CSP_IMG_SRC=
5+
VITE_CSP_CONNECT_SRC=
6+
VITE_CSP_OBJECT_SRC=
7+
VITE_CSP_BASE_URI=
8+
VITE_CSP_FORM_ACTION=
9+
VITE_CSP_BLOCK_MIXED_CONTENT=

.env.production.example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
VITE_CSP_DEFAULT_SRC=
2+
VITE_CSP_SCRIPT_SRC=
3+
VITE_CSP_STYLE_SRC=
4+
VITE_CSP_IMG_SRC=
5+
VITE_CSP_CONNECT_SRC=
6+
VITE_CSP_OBJECT_SRC=
7+
VITE_CSP_BASE_URI=
8+
VITE_CSP_FORM_ACTION=
9+
VITE_CSP_BLOCK_MIXED_CONTENT=

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
.env.test.local
2020
.env.production.local
2121
.env.production
22+
.env.development
2223

2324
npm-debug.log*
2425
yarn-debug.log*

0 commit comments

Comments
 (0)