This commit is contained in:
Sebastian Frank 2022-01-25 16:21:54 +01:00
parent 46c8119548
commit 6c24732380
Signed by: apairon
GPG Key ID: A0E05A8199CE3F57

View File

@ -142,7 +142,13 @@ var utils = require("../lib/utils")
JSON.stringify(context.ssrCache) +
"</script>"
cacheIt = true
// status from webapp
// @ts-ignore
if (context.is404) {
status = 404
} else {
cacheIt = true
}
} catch (e) {
utils.log(e.message)
utils.log(e.stack)