Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
407a3504
Commit
407a3504
authored
Nov 15, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update csp policy
parent
5b6cdca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
getCspPolicy.ts
lib/csp/getCspPolicy.ts
+5
-5
No files found.
lib/csp/getCspPolicy.ts
View file @
407a3504
...
@@ -99,14 +99,14 @@ function makePolicyMap() {
...
@@ -99,14 +99,14 @@ function makePolicyMap() {
...
MAIN_DOMAINS
,
...
MAIN_DOMAINS
,
// github avatars
// github assets (e.g trustwallet token icons)
'
avatars.githubusercontent.com
'
,
// other github assets (e.g trustwallet token icons)
'
raw.githubusercontent.com
'
,
'
raw.githubusercontent.com
'
,
// auth0 assets
// auth0 assets
and avatars
'
s.gravatar.com
'
,
'
s.gravatar.com
'
,
'
i0.wp.com
'
,
'
i1.wp.com
'
,
'
i2.wp.com
'
,
'
i3.wp.com
'
,
'
lh3.googleusercontent.com
'
,
// google avatars
'
avatars.githubusercontent.com
'
,
// github avatars
// network assets
// network assets
...
networkExternalAssets
.
map
((
url
)
=>
url
.
host
),
...
networkExternalAssets
.
map
((
url
)
=>
url
.
host
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment