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
// start_url in the manifest.
case "/manifest.json":
case "/code-server.png":
const response = await this.getResource(this.serverRoot, "media", requestPath);
response.cache = true;
return response;