Skip to content

Commit

Permalink
fix: set default language to ja
Browse files Browse the repository at this point in the history
  • Loading branch information
exKAZUu committed Sep 19, 2024
1 parent cce35a1 commit 0e1e6f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/infrastructures/supertokens/appInfo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const appInfo = {
// cf. https://supertokens.com/docs/emailpassword/nextjs/app-directory/init
appName: 'TraceDojo',
appName: 'トレース道場',
apiDomain: process.env.NEXT_PUBLIC_BASE_URL ?? '',
websiteDomain: process.env.NEXT_PUBLIC_BASE_URL ?? '',
apiBasePath: '/api/auth',
Expand Down
1 change: 1 addition & 0 deletions src/infrastructures/supertokens/frontendConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export const frontendConfig = (): SuperTokensConfig => {
ERROR_NON_OPTIONAL: 'このフィールドは必須です',
},
},
defaultLanguage: 'ja',
},
};
};
Expand Down

0 comments on commit 0e1e6f7

Please sign in to comment.