mirror of https://git.tuxpa.in/a/code-server.git
parent
45f70e741f
commit
7c178805ea
|
@ -297,6 +297,8 @@ export abstract class Server {
|
||||||
switch (base) {
|
switch (base) {
|
||||||
case "/":
|
case "/":
|
||||||
switch (requestPath) {
|
switch (requestPath) {
|
||||||
|
// NOTE: This must be served at the correct location based on the
|
||||||
|
// start_url in the manifest.
|
||||||
case "/manifest.json":
|
case "/manifest.json":
|
||||||
const response = await this.getResource(this.serverRoot, "media", requestPath);
|
const response = await this.getResource(this.serverRoot, "media", requestPath);
|
||||||
response.cache = true;
|
response.cache = true;
|
||||||
|
|
Loading…
Reference in New Issue