Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Sep 21, 2023
1 parent e57abfe commit 497fc4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/h3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export function getCookieLocale(
export function setCookieLocale(
event: H3Event,
locale: string | Intl.Locale,
options: CookieOptions = { name: DEFAULT_COOKIE_NAME, path: '/' },
options: CookieOptions = { name: DEFAULT_COOKIE_NAME },
): void {
validateLocale(locale)
setCookie(event, options.name!, locale.toString(), options)
Expand Down

0 comments on commit 497fc4d

Please sign in to comment.