mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
inline product configuration in produt service
This commit is contained in:
@@ -327,7 +327,7 @@ export class MainThreadWebviews extends Disposable implements MainThreadWebviews
|
||||
if (MainThreadWebviews.standardSupportedLinkSchemes.has(link.scheme)) {
|
||||
return true;
|
||||
}
|
||||
if (this._productService.productConfiguration.urlProtocol === link.scheme) {
|
||||
if (this._productService.urlProtocol === link.scheme) {
|
||||
return true;
|
||||
}
|
||||
return !!webview.webview.contentOptions.enableCommandUris && link.scheme === 'command';
|
||||
|
||||
Reference in New Issue
Block a user