forked from cms/tibi-svelte-starter
ssr 404
This commit is contained in:
parent
85fd41ce58
commit
24d2aaaa50
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user