Skip to content

Commit

Permalink
Merge pull request #399 from CodinGame/fix/workbench-domain
Browse files Browse the repository at this point in the history
fix: check on _webviewIframeAlternateDomains in workbench override
  • Loading branch information
CGNonofr authored Apr 15, 2024
2 parents 31b0f56 + c773779 commit 9386aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service-override/workbench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ onRenderWorkbench(async accessor => {
})

function getServiceOverride (options?: IWorkbenchOptions, _webviewIframeAlternateDomains?: string): IEditorOverrideServices {
if (webviewIframeAlternateDomains != null) {
if (_webviewIframeAlternateDomains != null) {
webviewIframeAlternateDomains = _webviewIframeAlternateDomains
}

Expand Down

0 comments on commit 9386aa7

Please sign in to comment.