mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
fix: changelog
This commit is contained in:
parent
46ea29f91d
commit
0a269b63e5
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue