Skip to content

Commit 5b901dd

Browse files
authored
adding parent iframe url
1 parent 55ebd37 commit 5b901dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h1>Dask Clusters</h1>
5353
const WORKSPACE_HEADER_NAME = "X-Workspace-Url";
5454

5555
function workspaceHeaders() {
56-
const workspaceUrl = window.eoxWorkspaceUrl || window.location.href; // e.g. expecting "https://workspace.dask-gateway.hub-otc.eox.at/dask-gateway-dashboard"
56+
const workspaceUrl = window.eoxWorkspaceUrl || window.parent.location.href; // e.g. expecting "https://workspace.dask-gateway.hub-otc.eox.at/dask-gateway-dashboard"
5757
return { [WORKSPACE_HEADER_NAME]: workspaceUrl };
5858
}
5959

0 commit comments

Comments
 (0)