Skip to content

Commit

Permalink
i18n(ko-KR): update vercel.mdx (#11092)
Browse files Browse the repository at this point in the history
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
  • Loading branch information
jsparkdev and ArmandPhilippot authored Feb 28, 2025
1 parent 56b30a2 commit 326a69e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/content/docs/ko/guides/integrations-guide/vercel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export default defineConfig({

Vercel의 [초안 모드](https://vercel.com/docs/build-output-api/v3/features#draft-mode) 또는 [주문형 증분형 정적 재생성 (ISR)](https://vercel.com/docs/build-output-api/v3/features#on-demand-incremental-static-regeneration-isr)을 구현하려면 bypass 토큰을 생성하고 이를 캐싱에서 제외할 경로와 함께 `isr` 구성에 제공할 수 있습니다.

```js title="astro.config.mjs" {7-12}
```js title="astro.config.mjs" {7-16}
import { defineConfig } from 'astro/config';
import vercel from '@astrojs/vercel';

Expand All @@ -285,7 +285,11 @@ export default defineConfig({
// 여러분이 생성하는 무작위 비밀 문자열입니다.
bypassToken: '005556d774a8',
// 항상 최신 상태로 제공되는 경로입니다.
exclude: [ "/api/invalidate", "/posts/[...slug]" ]
exclude: [
'/preview',
'/auth/[page]',
/^\/api\/.+/ // `@astrojs/vercel@v8.1.0`부터 정규 표현식이 지원됩니다.
]
},
}),
});
Expand Down

0 comments on commit 326a69e

Please sign in to comment.