1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-27 04:35:25 +00:00

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;