0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-03 22:57:08 -05:00
astro/.changeset/angry-lamps-cheer.md
TK a573cc199a
feat: allow dynamic route segments in isr.exclude array (#10513)
* Allow dynamic route segments in isr.exclude array

* copy over eslint-disable as well

* add test

* update test: slashes dont need to be escaped

* update changeset

---------

Co-authored-by: lilnasy <69170106+lilnasy@users.noreply.github.com>
2024-03-28 23:46:18 +05:30

17 lines
325 B
Markdown

---
"@astrojs/vercel": minor
---
The `isr.exclude` configuration can now include routes with dynamic and spread parameters.
```ts
export default defineConfig({
adapter: vercel({
isr: {
exclude: [
"/blog/[title]"
"/api/[...slug]",
]
}
})
})
```