Skip to content

Commit 69001ec

Browse files
committed
fix frameworks csp issues
1 parent d792bf3 commit 69001ec

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

apps/demos/utils/server/csp-server.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ const CSP_DEMO_ALLOWLIST = {
119119
'Resizable/Overview': {
120120
'img-src': ['data:'],
121121
},
122+
'SelectBox/Grouping': {
123+
'font-src': ['https://maxcdn.bootstrapcdn.com'],
124+
},
125+
'SelectBox/SearchAndEditing': {
126+
'font-src': ['https://maxcdn.bootstrapcdn.com'],
127+
},
122128
'Scheduler/GoogleCalendarIntegration': {
123129
'connect-src': ['https://www.googleapis.com'],
124130
},
@@ -128,6 +134,15 @@ const CSP_DEMO_ALLOWLIST = {
128134
'ScrollView/Overview': {
129135
'img-src': ['data:'],
130136
},
137+
'Slider/Overview': {
138+
'font-src': ['https://maxcdn.bootstrapcdn.com'],
139+
},
140+
'Sortable/Customization': {
141+
'font-src': ['https://maxcdn.bootstrapcdn.com'],
142+
},
143+
'TagBox/Grouping': {
144+
'font-src': ['https://maxcdn.bootstrapcdn.com'],
145+
},
131146
// AI demos use inline <script type="module"> to import OpenAI SDK from esm.sh
132147
'TreeList/AIColumns': {
133148
'connect-src': ['https://public-api.devexpress.com'],

0 commit comments

Comments
 (0)