Archived
1
0

Allow fetching any resource

Fixes #1118.
This commit is contained in:
Asher 2019-10-28 14:29:51 -05:00
parent a89d83cbba
commit ea36345d2c
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -525,7 +525,7 @@ export class MainServer extends Server {
case "/resource": case "/resource":
case "/vscode-remote-resource": case "/vscode-remote-resource":
if (typeof parsedUrl.query.path === "string") { if (typeof parsedUrl.query.path === "string") {
return this.getResource(parsedUrl.query.path); return this.getAnyResource(parsedUrl.query.path);
} }
break; break;
case "/tar": case "/tar":