0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00

fix: changelog

This commit is contained in:
Florian Lefebvre 2024-09-09 16:43:51 +02:00
parent 46ea29f91d
commit 0a269b63e5

View file

@ -16,7 +16,7 @@ export const prerender = true
// src/middleware.js
export const onRequest = (ctx, next) => {
console.log(ctx.prerender) // it will log true
console.log(ctx.isPrerendered) // it will log true
return next()
}
```