Skip to content

Commit 2cbbf8c

Browse files
committed
Fix incorrect nls.json fetch
When moving this out of the HTML I didn't remove {{BASE}}. Updates #2046.
1 parent 4a250be commit 2cbbf8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/browser/pages/vscode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ try {
1717
}
1818
// FIXME: Only works if path separators are /.
1919
const path = nlsConfig._resolvedLanguagePackCoreLocation + "/" + bundle.replace(/\//g, "!") + ".nls.json"
20-
fetch(`{{BASE}}/resource/?path=${encodeURIComponent(path)}`)
20+
fetch(`${options.base}/resource/?path=${encodeURIComponent(path)}`)
2121
.then((response) => response.json())
2222
.then((json) => {
2323
bundles[bundle] = json

0 commit comments

Comments
 (0)