Skip to content

Commit 3c3f4a1

Browse files
committed
Add cors mode to prevent cors failure
1 parent bca9cb6 commit 3c3f4a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/dash-renderer/src/components/error/menu/VersionInfo.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ async function requestDashVersionInfo(config) {
5353
ddk_version: ddkVersion,
5454
plotly_version: plotlyVersion
5555
}).toString();
56-
return fetch(dashVersionUrl + '?' + queryParams)
56+
return fetch(dashVersionUrl + '?' + queryParams, { mode: 'cors'})
5757
.then(response => response.json())
5858
.catch(() => {
5959
return {};

0 commit comments

Comments
 (0)