summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorINOUE Daisuke <inoue.daisuke@gmail.com>2025-04-08 22:18:02 +0900
committerINOUE Daisuke <inoue.daisuke@gmail.com>2025-04-08 22:18:02 +0900
commit90bdf104d76674d307cbd50dc1cf3d973b663471 (patch)
tree75e1a350b283cea1a87db2e7fd2f2f207b2ac6ac /src
parent3e56650290ec725ee95689c1729d681e41385126 (diff)
fix and add some translation keys.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/app.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/app.ts b/src/app.ts
index febc67d..5fe0100 100755
--- a/src/app.ts
+++ b/src/app.ts
@@ -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)