Archived
1
0

Make client-side extensions work at any base

This commit is contained in:
Asher
2020-03-16 12:04:09 -05:00
parent 88f4b986c5
commit d832f61d5b
4 changed files with 37 additions and 31 deletions

View File

@ -155,11 +155,6 @@ export class VscodeHttpProvider extends HttpProvider {
return this.getResource(route.query.path)
}
break
case "/tar":
if (typeof route.query.path === "string") {
return this.getTarredResource(request, route.query.path)
}
break
case "/webview":
if (/^\/vscode-resource/.test(route.requestPath)) {
return this.getResource(route.requestPath.replace(/^\/vscode-resource(\/file)?/, ""))