diff --git a/src/browser/login.html b/src/browser/login.html index fd4afff..0440c4e 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 d55d4dd..014cc1f 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 84ef1e5..4e566bd 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 ff4c88e..db8c559 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" }; }