diff options
author | INOUE Daisuke <inoue.daisuke@gmail.com> | 2025-04-08 22:18:02 +0900 |
---|---|---|
committer | INOUE Daisuke <inoue.daisuke@gmail.com> | 2025-04-08 22:18:02 +0900 |
commit | 90bdf104d76674d307cbd50dc1cf3d973b663471 (patch) | |
tree | 75e1a350b283cea1a87db2e7fd2f2f207b2ac6ac /src/app.ts | |
parent | 3e56650290ec725ee95689c1729d681e41385126 (diff) |
fix and add some translation keys.
Diffstat (limited to 'src/app.ts')
-rwxr-xr-x | src/app.ts | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -46,19 +46,6 @@ async function initializeApp() { // Cookies // app.use(cookieParser()); - // カスタム言語検出ミドルウェア - // app.use((req, res, next) => { - // const acceptLanguage = req.headers['accept-language']; - // if (acceptLanguage && acceptLanguage.includes('ja')) { - // res.cookie('i18next', 'ja', { - // maxAge: 365 * 24 * 60 * 60 * 1000, - // httpOnly: true, - // sameSite: 'lax' - // }); - // } - // next(); - // }); - // i18next configuration await i18next .use(Backend) |