mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Support loading webviews from wildcard endpoints
Fixes #77132 Add support for loading webviews from and endpoint that looks like: ``` https://{{uuid}}.contoso.com/path/to/some/commit/index.html ``` This lets us serve each webview from a seperate origin
This commit is contained in:
@@ -88,7 +88,7 @@ export class MainThreadEditorInsets implements MainThreadEditorInsetsShape {
|
||||
|
||||
const disposables = new DisposableStore();
|
||||
|
||||
const webview = this._webviewService.createWebview({
|
||||
const webview = this._webviewService.createWebview('' + handle, {
|
||||
enableFindWidget: false,
|
||||
allowSvgs: false,
|
||||
extension: { id: extensionId, location: URI.revive(extensionLocation) }
|
||||
|
||||
Reference in New Issue
Block a user