mirror of
https://github.com/withastro/astro.git
synced 2025-03-03 22:57:08 -05:00
* 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>
17 lines
325 B
Markdown
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]",
|
|
]
|
|
}
|
|
})
|
|
})
|
|
```
|