Skip to content

Commit 6492b92

Browse files
Update csp-server.js
1 parent 39145dc commit 6492b92

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

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

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,72 @@ const CSP_DEMO_ALLOWLIST = {
3636
'script-src': ['https://atlas.microsoft.com'],
3737
'connect-src': ['https://atlas.microsoft.com'],
3838
},
39+
'DataGrid/CollaborativeEditing': {
40+
'connect-src': ['wss://js.devexpress.com'],
41+
},
42+
'Charts/SignalRService': {
43+
'connect-src': ['wss://js.devexpress.com'],
44+
},
45+
'DataGrid/SignalRService': {
46+
'connect-src': ['wss://js.devexpress.com'],
47+
},
48+
'Scheduler/SignalRService': {
49+
'connect-src': ['wss://js.devexpress.com'],
50+
},
51+
'DataGrid/Cell': {
52+
'img-src': ['data:'],
53+
},
54+
'DataGrid/ExcelJSExportImages': {
55+
'img-src': ['data:'],
56+
},
57+
'DataGrid/InfiniteScrolling': {
58+
'img-src': ['data:'],
59+
},
60+
'DataGrid/LocalReordering': {
61+
'img-src': ['data:'],
62+
},
63+
'DataGrid/PDFExportImages': {
64+
'img-src': ['data:'],
65+
},
66+
'DataGrid/VirtualScrolling': {
67+
'img-src': ['data:'],
68+
},
69+
Gantt: {
70+
'img-src': ['data:'],
71+
},
72+
FilterBuilder: {
73+
'font-src': ['https://maxcdn.bootstrapcdn.com'],
74+
},
75+
FileManager: {
76+
'img-src': ['data:'],
77+
},
78+
'Scheduler/GoogleCalendarIntegration': {
79+
'connect-src': ['https://www.googleapis.com'],
80+
},
81+
'Scheduler/CellTemplates': {
82+
'img-src': ['data:'],
83+
},
84+
'ScrollView/Overview': {
85+
'img-src': ['data:'],
86+
},
87+
'TreeList/AIColumns': {
88+
'connect-src': ['https://public-api.devexpress.com'],
89+
},
90+
'TreeList/BatchEditing': {
91+
'img-src': ['data:'],
92+
},
93+
'TreeList/CellEditing': {
94+
'img-src': ['data:'],
95+
},
96+
'TreeList/FixedAndStickyColumns': {
97+
'img-src': ['data:'],
98+
},
99+
'TreeList/MultipleSorting': {
100+
'img-src': ['data:'],
101+
},
102+
'TreeList/SearchPanel': {
103+
'img-src': ['data:'],
104+
},
39105
};
40106

41107
function buildCspHeader(demoKey) {

0 commit comments

Comments
 (0)