This commit is contained in:
Sebastian Frank 2022-01-25 16:21:54 +01:00
parent 85fd41ce58
commit 24d2aaaa50

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)