Skip to content

Commit

Permalink
fix: redirect status code (#1861)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon authored Feb 15, 2023
1 parent 9b0ebb4 commit 23fe238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ function _navigate(redirectPath: string, status: number) {
export async function navigate<Context extends NuxtApp = NuxtApp>(
args: NavigateArgs,
{
status = 302,
status = 301,
rootRedirect = nuxtI18nOptionsDefault.rootRedirect,
differentDomains = nuxtI18nOptionsDefault.differentDomains,
skipSettingLocaleOnNavigate = nuxtI18nOptionsDefault.skipSettingLocaleOnNavigate
Expand Down

0 comments on commit 23fe238

Please sign in to comment.