mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 09:35:39 -05:00
This reverts commit d15a3fcc98.
This commit is contained in:
@@ -13,12 +13,7 @@
|
||||
<!-- Startup via workbench.js -->
|
||||
<script>
|
||||
self.CONNECTION_AUTH_TOKEN = '{{CONNECTION_AUTH_TOKEN}}';
|
||||
self.SERVER_APP_ROOT = '{{SERVER_APP_ROOT}}';
|
||||
self.WINDOW_CONFIGURATION = {
|
||||
settingsPath: '{{SETTINGS}}',
|
||||
folderPath: '{{FOLDER}}',
|
||||
workspacePath: '{{WORKSPACE}}',
|
||||
}
|
||||
self.USER_HOME_DIR = '{{USER_HOME_DIR}}';
|
||||
</script>
|
||||
|
||||
<!-- Startup via workbench.js -->
|
||||
|
||||
@@ -21,11 +21,7 @@
|
||||
|
||||
// @ts-ignore
|
||||
require.config({
|
||||
baseUrl: `${window.location.origin}/out`,
|
||||
paths: {
|
||||
'vscode-textmate': `${window.location.origin}/node_modules/vscode-textmate/release/main`,
|
||||
'onigasm-umd': `${window.location.origin}/node_modules/onigasm-umd/release/main`,
|
||||
}
|
||||
baseUrl: `${window.location.origin}/out`
|
||||
});
|
||||
|
||||
// @ts-ignore
|
||||
@@ -36,8 +32,9 @@
|
||||
],
|
||||
// @ts-ignore
|
||||
function () {
|
||||
|
||||
// @ts-ignore
|
||||
require('vs/workbench/browser/web.main').main(self['WINDOW_CONFIGURATION']).then(undefined, console.error);
|
||||
require('vs/workbench/browser/web.main').main().then(undefined, console.error);
|
||||
});
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user