summaryrefslogtreecommitdiff
path: root/src/app.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.ts')
-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)