mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 06:21:50 +01:00
fixing the workbench html adopting to server
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
<!-- Disable pinch zooming -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta id="vscode-workbench-web-configuration" data-settings="{{WORKBENCH_WEB_CONGIGURATION}}">
|
||||
</head>
|
||||
<body class="vs-dark" aria-label="">
|
||||
</body>
|
||||
@@ -15,14 +16,7 @@
|
||||
|
||||
<!-- Window Configuration from Server -->
|
||||
<script>
|
||||
self.WORKBENCH_WEB_CONFIGURATION = {
|
||||
connectionAuthToken: '{{CONNECTION_AUTH_TOKEN}}',
|
||||
folderUri: '{{FOLDER}}',
|
||||
workspaceUri: '{{WORKSPACE}}',
|
||||
userDataUri: '{{USER_DATA}}',
|
||||
remoteAuthority: '{{AUTHORITY}}',
|
||||
webviewEndpoint: '{{WEBVIEW_ENDPOINT}}'
|
||||
}
|
||||
self.WORKBENCH_WEB_CONFIGURATION = JSON.parse(document.getElementById('vscode-workbench-web-configuration').getAttribute('data-settings'));
|
||||
</script>
|
||||
|
||||
<!-- Startup via workbench.js -->
|
||||
|
||||
Reference in New Issue
Block a user