mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
a573cc199a
* 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>
13 lines
304 B
JavaScript
13 lines
304 B
JavaScript
import vercel from '@astrojs/vercel/serverless';
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
export default defineConfig({
|
|
output: "server",
|
|
adapter: vercel({
|
|
isr: {
|
|
bypassToken: "1c9e601d-9943-4e7c-9575-005556d774a8",
|
|
expiration: 120,
|
|
exclude: ["/two", "/excluded/[dynamic]"]
|
|
}
|
|
})
|
|
});
|