Archived
1
0

Add comment about the manifest's served location

Also for #1278.
This commit is contained in:
Asher 2020-01-16 11:44:17 -06:00
parent 45f70e741f
commit 7c178805ea
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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;