Skip to content

Commit a91faea

Browse files
i18n(ko-KR): update middleware.mdx (withastro#12318)
Co-authored-by: Yan <[email protected]>
1 parent aa21acd commit a91faea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/ko/guides/middleware.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export function onRequest (context, next) {
257257
// 현재 URL은 https://example.com/blog
258258

259259
// 첫 미들웨어 함수
260-
async function first(_, next) {
260+
async function first(context, next) {
261261
console.log(context.url.pathname) // "/blog"가 기록됩니다.
262262
// 새 경로와 홈페이지가 리라이트됩니다.
263263
// 다음 함수에 전달되는 업데이트된 `context`를 반환합니다.

0 commit comments

Comments
 (0)