Skip to content

Commit cdcd11d

Browse files
committed
undo headers to avoid CORS block
1 parent 6aa364f commit cdcd11d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

services/static-webserver/client/source/class/osparc/data/model/IframeHandler.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -329,13 +329,7 @@ qx.Class.define("osparc.data.model.IframeHandler", {
329329
if (osparc.utils.Utils.isDevelopmentPlatform()) {
330330
console.log("Connecting: about to fetch", srvUrl);
331331
}
332-
333-
const productName = qx.core.Environment.get("product.name");
334-
335-
fetch(srvUrl, {
336-
credentials: "include",
337-
headers: productName ? { "X-Simcore-Products-Name": productName } : {}
338-
})
332+
fetch(srvUrl, {credentials: "include"})
339333
.then(response => {
340334
if (osparc.utils.Utils.isDevelopmentPlatform()) {
341335
console.log("Connecting: fetch's response status", response.status);

0 commit comments

Comments
 (0)