Move manifest icon to the root as well

This commit is contained in:
Asher 2020-01-16 12:11:06 -06:00
parent 7c178805ea
commit e2d354c8f2
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -300,6 +300,7 @@ export abstract class Server {
// NOTE: This must be served at the correct location based on the // NOTE: This must be served at the correct location based on the
// start_url in the manifest. // start_url in the manifest.
case "/manifest.json": case "/manifest.json":
case "/code-server.png":
const response = await this.getResource(this.serverRoot, "media", requestPath); const response = await this.getResource(this.serverRoot, "media", requestPath);
response.cache = true; response.cache = true;
return response; return response;