Skip to content

Commit fa0286a

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/pages/vscode.ts

Lines changed: 1 addition & 1 deletion
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(`./resource/?path=${encodeURIComponent(path)}`)
2121
.then((response) => response.json())
2222
.then((json) => {
2323
bundles[bundle] = json

0 commit comments

Comments
 (0)