diff --git a/src/browser/login.html b/src/browser/login.html index fd4afff98..0440c4ede 100644 --- a/src/browser/login.html +++ b/src/browser/login.html @@ -5,7 +5,7 @@ Authenticate: code-server - + diff --git a/src/browser/workbench-build.html b/src/browser/workbench-build.html index d55d4dd8e..014cc1f34 100644 --- a/src/browser/workbench-build.html +++ b/src/browser/workbench-build.html @@ -20,7 +20,7 @@ - + diff --git a/src/browser/workbench.html b/src/browser/workbench.html index 84ef1e51e..4e566bdca 100644 --- a/src/browser/workbench.html +++ b/src/browser/workbench.html @@ -20,7 +20,7 @@ - + diff --git a/src/node/server.ts b/src/node/server.ts index ff4c88e18..db8c55963 100644 --- a/src/node/server.ts +++ b/src/node/server.ts @@ -296,6 +296,12 @@ export abstract class Server { switch (base) { case "/": + switch (requestPath) { + case "/manifest.json": + const response = await this.getResource(this.serverRoot, "media", requestPath); + response.cache = true; + return response; + } if (!this.authenticate(request)) { return { redirect: "/login" }; }