@@ -133,7 +133,7 @@ <h1>You need to enable JavaScript to run this app.</h1>
133133
134134 < script >
135135 self . require = {
136- baseUrl : `${ window . location . origin } /{STATIC_FOLDER }/vscode` ,
136+ baseUrl : `${ window . location . origin } /static/{STATIC_HASH_CODE }/vscode` ,
137137 recordStats : true ,
138138 trustedTypesPolicy : window . trustedTypes ?. createPolicy ( 'amdLoader' , {
139139 createScriptURL ( value ) {
@@ -144,25 +144,25 @@ <h1>You need to enable JavaScript to run this app.</h1>
144144 } ,
145145 } ) ,
146146 paths : {
147- 'vscode-textmate' : `${ window . location . origin } /{STATIC_FOLDER }/node_modules/vscode-textmate/release/main` ,
148- 'vscode-oniguruma' : `${ window . location . origin } /{STATIC_FOLDER }/node_modules/vscode-oniguruma/release/main` ,
149- xterm : `${ window . location . origin } /{STATIC_FOLDER }/node_modules/xterm/lib/xterm.js` ,
150- 'xterm-addon-search' : `${ window . location . origin } /{STATIC_FOLDER }/node_modules/xterm-addon-search/lib/xterm-addon-search.js` ,
151- 'xterm-addon-unicode11' : `${ window . location . origin } /{STATIC_FOLDER }/node_modules/xterm-addon-unicode11/lib/xterm-addon-unicode11.js` ,
152- 'xterm-addon-webgl' : `${ window . location . origin } /{STATIC_FOLDER }/node_modules/xterm-addon-webgl/lib/xterm-addon-webgl.js` ,
153- 'tas-client-umd' : `${ window . location . origin } /{STATIC_FOLDER }/node_modules/tas-client-umd/lib/tas-client-umd.js` ,
154- 'iconv-lite-umd' : `${ window . location . origin } /{STATIC_FOLDER }/node_modules/iconv-lite-umd/lib/iconv-lite-umd.js` ,
155- jschardet : `${ window . location . origin } /{STATIC_FOLDER }/node_modules/jschardet/dist/jschardet.min.js` ,
147+ 'vscode-textmate' : `${ window . location . origin } /static/{STATIC_HASH_CODE }/node_modules/vscode-textmate/release/main` ,
148+ 'vscode-oniguruma' : `${ window . location . origin } /static/{STATIC_HASH_CODE }/node_modules/vscode-oniguruma/release/main` ,
149+ xterm : `${ window . location . origin } /static/{STATIC_HASH_CODE }/node_modules/xterm/lib/xterm.js` ,
150+ 'xterm-addon-search' : `${ window . location . origin } /static/{STATIC_HASH_CODE }/node_modules/xterm-addon-search/lib/xterm-addon-search.js` ,
151+ 'xterm-addon-unicode11' : `${ window . location . origin } /static/{STATIC_HASH_CODE }/node_modules/xterm-addon-unicode11/lib/xterm-addon-unicode11.js` ,
152+ 'xterm-addon-webgl' : `${ window . location . origin } /static/{STATIC_HASH_CODE }/node_modules/xterm-addon-webgl/lib/xterm-addon-webgl.js` ,
153+ 'tas-client-umd' : `${ window . location . origin } /static/{STATIC_HASH_CODE }/node_modules/tas-client-umd/lib/tas-client-umd.js` ,
154+ 'iconv-lite-umd' : `${ window . location . origin } /static/{STATIC_HASH_CODE }/node_modules/iconv-lite-umd/lib/iconv-lite-umd.js` ,
155+ jschardet : `${ window . location . origin } /static/{STATIC_HASH_CODE }/node_modules/jschardet/dist/jschardet.min.js` ,
156156 } ,
157157 } ;
158158 </ script >
159- < script src ="/{STATIC_FOLDER }/vscode/vs/loader.js "> </ script >
160- < script src ="/{STATIC_FOLDER }/vscode/vs/workbench/workbench.web.api.js "> </ script >
159+ < script src ="/static/{STATIC_HASH_CODE }/vscode/vs/loader.js "> </ script >
160+ < script src ="/static/{STATIC_HASH_CODE }/vscode/vs/workbench/workbench.web.api.js "> </ script >
161161 < script >
162162 globalThis . MonacoPerformanceMarks . push ( 'willLoadWorkbenchMain' , Date . now ( ) ) ;
163163 </ script >
164164 < script >
165- fetch ( '/{STATIC_FOLDER }/configure/extensions.json' )
165+ fetch ( '/static/{STATIC_HASH_CODE }/configure/extensions.json' )
166166 . then ( ( response ) => response . text ( ) )
167167 . then ( ( extensionsJson ) => {
168168 document
@@ -176,9 +176,9 @@ <h1>You need to enable JavaScript to run this app.</h1>
176176 enableSyncByDefault : false ,
177177 webviewEndpoint :
178178 window . location . origin +
179- '/{STATIC_FOLDER }/vscode/vs/workbench/contrib/webview/browser/pre' ,
179+ '/static/{STATIC_HASH_CODE }/vscode/vs/workbench/contrib/webview/browser/pre' ,
180180 webWorkerExtensionHostIframeSrc :
181- '/{STATIC_FOLDER }/vscode/vs/workbench/services/extensions/worker/httpWebWorkerExtensionHostIframe.html' ,
181+ '/static/{STATIC_HASH_CODE }/vscode/vs/workbench/services/extensions/worker/httpWebWorkerExtensionHostIframe.html' ,
182182 } )
183183 ) ;
184184 document
0 commit comments