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
1 changed files with 2 additions and 0 deletions

View File

@ -297,6 +297,8 @@ export abstract class Server {
switch (base) {
case "/":
switch (requestPath) {
// NOTE: This must be served at the correct location based on the
// start_url in the manifest.
case "/manifest.json":
const response = await this.getResource(this.serverRoot, "media", requestPath);
response.cache = true;