File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
workbench/services/environment/browser Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 23
23
"licenseFileName" : " LICENSE.txt" ,
24
24
"reportIssueUrl" : " https://github.com/microsoft/vscode/issues/new" ,
25
25
"urlProtocol" : " code-oss" ,
26
- "webEndpointUrlTemplate " : " https://{{uuid}}.vscode-webview.net/{{quality}}/5f19eee5dc9588ca96192f89587b5878b7d7180d /out/vs/workbench/contrib/webview/browser/pre/" ,
26
+ "webviewContentExternalBaseUrlTemplate " : " https://{{uuid}}.vscode-webview.net/{{quality}}/{{commit}} /out/vs/workbench/contrib/webview/browser/pre/" ,
27
27
"extensionAllowedProposedApi" : [
28
28
" ms-vscode.vscode-js-profile-flame" ,
29
29
" ms-vscode.vscode-js-profile-table" ,
Original file line number Diff line number Diff line change @@ -144,6 +144,8 @@ export interface IProductConfiguration {
144
144
readonly 'configurationSync.store' ?: ConfigurationSyncStore ;
145
145
146
146
readonly darwinUniversalAssetId ?: string ;
147
+
148
+ readonly webviewContentExternalBaseUrlTemplate ?: string ;
147
149
}
148
150
149
151
export type ImportantExtensionTip = { name : string ; languages ?: string [ ] ; pattern ?: string ; isExtensionPack ?: boolean } ;
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
227
227
@memoize
228
228
get webviewExternalEndpoint ( ) : string {
229
229
const endpoint = this . options . webviewEndpoint
230
- || this . productService . webEndpointUrlTemplate
230
+ || this . productService . webviewContentExternalBaseUrlTemplate
231
231
|| 'https://{{uuid}}.vscode-webview.net/{{quality}}/{{commit}}/out/vs/workbench/contrib/webview/browser/pre/' ;
232
232
233
233
const webviewExternalEndpointCommit = this . payload ?. get ( 'webviewExternalEndpointCommit' ) ;
You can’t perform that action at this time.
0 commit comments