Archived
1
0

Fix worker require paths when behind proxy

This commit is contained in:
Asher
2020-03-02 17:44:16 -06:00
parent ecac0dd751
commit 77af2a5b0e
3 changed files with 5 additions and 6 deletions

View File

@ -23,8 +23,7 @@ export class StaticHttpProvider extends HttpProvider {
const split = route.requestPath.split("/").slice(1)
switch (split[split.length - 1]) {
case "manifest.json":
case "extensionHostWorkerMain.js": {
case "manifest.json": {
const response = await this.getUtf8Resource(this.rootPath, ...split)
return this.replaceTemplates(route, response)
}