|
25 | 25 | <meta id="vscode-remote-nls-configuration" data-settings="{{NLS_CONFIGURATION}}" />
|
26 | 26 |
|
27 | 27 | <!-- Workbench Icon/Manifest/CSS -->
|
28 |
| - <link rel="icon" href="{{BASE}}/static-{{COMMIT}}/src/browser/media/favicon.ico" type="image/x-icon" /> |
| 28 | + <link rel="icon" href="{{BASE}}/static/{{COMMIT}}/src/browser/media/favicon.ico" type="image/x-icon" /> |
29 | 29 | <link
|
30 | 30 | rel="manifest"
|
31 |
| - href="{{BASE}}/static-{{COMMIT}}/src/browser/media/manifest.json" |
| 31 | + href="{{BASE}}/static/{{COMMIT}}/src/browser/media/manifest.json" |
32 | 32 | crossorigin="use-credentials"
|
33 | 33 | />
|
34 | 34 | <!-- PROD_ONLY
|
35 |
| - <link data-name="vs/workbench/workbench.web.api" rel="stylesheet" href="{{VS_BASE}}/static-{{COMMIT}}/out/vs/workbench/workbench.web.api.css"> |
| 35 | + <link data-name="vs/workbench/workbench.web.api" rel="stylesheet" href="{{BASE}}/static/{{COMMIT}}/lib/vscode/out/vs/workbench/workbench.web.api.css"> |
36 | 36 | END_PROD_ONLY -->
|
37 |
| - <link rel="apple-touch-icon" href="{{BASE}}/static-{{COMMIT}}/src/browser/media/code-server.png" /> |
| 37 | + <link rel="apple-touch-icon" href="{{BASE}}/static/{{COMMIT}}/src/browser/media/code-server.png" /> |
38 | 38 | <meta name="apple-mobile-web-app-capable" content="yes" />
|
39 | 39 |
|
40 | 40 | <!-- Prefetch to avoid waterfall -->
|
41 | 41 | <!-- PROD_ONLY
|
42 |
| - <link rel="prefetch" href="{{VS_BASE}}/static-{{COMMIT}}/node_modules/semver-umd/lib/semver-umd.js"> |
| 42 | + <link rel="prefetch" href="{{BASE}}/static/{{COMMIT}}/lib/vscode/node_modules/semver-umd/lib/semver-umd.js"> |
43 | 43 | END_PROD_ONLY -->
|
44 | 44 |
|
45 | 45 | <meta id="coder-options" data-settings="{{OPTIONS}}" />
|
|
50 | 50 | <!-- Startup (do not modify order of script tags!) -->
|
51 | 51 | <script>
|
52 | 52 | const parts = window.location.pathname.replace(/^\//g, "").split("/")
|
53 |
| - parts[parts.length - 1] = "{{VS_BASE}}" |
| 53 | + parts[parts.length - 1] = "{{BASE}}" |
54 | 54 | const url = new URL(window.location.origin + "/" + parts.join("/"))
|
55 | 55 | const el = document.getElementById("vscode-remote-commit")
|
56 | 56 | const commit = el ? el.getAttribute("data-settings") : ""
|
57 |
| - const staticBase = url.href + "/static-" + commit |
| 57 | + const staticBase = url.href + "/static/" + commit + "/lib/vscode" |
58 | 58 | let nlsConfig
|
59 | 59 | try {
|
60 | 60 | nlsConfig = JSON.parse(document.getElementById("vscode-remote-nls-configuration").getAttribute("data-settings"))
|
|
93 | 93 | "vs/nls": nlsConfig,
|
94 | 94 | }
|
95 | 95 | </script>
|
96 |
| - <script src="{{BASE}}/static-{{COMMIT}}/dist/register.js"></script> |
97 |
| - <script src="{{VS_BASE}}/static-{{COMMIT}}/out/vs/loader.js"></script> |
| 96 | + <script src="{{BASE}}/static/{{COMMIT}}/dist/register.js"></script> |
| 97 | + <script src="{{BASE}}/static/{{COMMIT}}/lib/vscode/out/vs/loader.js"></script> |
98 | 98 | <!-- PROD_ONLY
|
99 |
| - <script src="{{VS_BASE}}/static-{{COMMIT}}/out/vs/workbench/workbench.web.api.nls.js"></script> |
100 |
| - <script src="{{VS_BASE}}/static-{{COMMIT}}/out/vs/workbench/workbench.web.api.js"></script> |
| 99 | + <script src="{{BASE}}/static/{{COMMIT}}/lib/vscode/out/vs/workbench/workbench.web.api.nls.js"></script> |
| 100 | + <script src="{{BASE}}/static/{{COMMIT}}/lib/vscode/out/vs/workbench/workbench.web.api.js"></script> |
101 | 101 | END_PROD_ONLY -->
|
102 | 102 | <script>
|
103 | 103 | require(["vs/code/browser/workbench/workbench"], function() {})
|
|
0 commit comments