This commit is contained in:
Zef Hemel
2024-01-13 18:42:40 +01:00
parent 0ff005a595
commit 0296679827
5 changed files with 16 additions and 7 deletions
-2
View File
@@ -183,7 +183,6 @@ export class HttpServer {
if (!this.clientAssetBundle.has(assetName)) {
return next();
}
console.log("Asset name", assetName);
if (
this.clientAssetBundle.has(assetName) &&
req.header("If-Modified-Since") ===
@@ -205,7 +204,6 @@ export class HttpServer {
utcDateString(this.clientAssetBundle.getMtime(assetName)),
);
}
// console.log("Serving it now", assetName);
if (req.method === "GET") {
if (assetName === "service_worker.js") {