1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 13:15:25 +00:00

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 "/vscode-remote-resource":
if (typeof parsedUrl.query.path === "string") {
return this.getResource(parsedUrl.query.path);
return this.getAnyResource(parsedUrl.query.path);
}
break;
case "/tar":