diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/client-html.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/lib/client-html.ts b/server/lib/client-html.ts index 84b4ca97d..84eb33348 100644 --- a/server/lib/client-html.ts +++ b/server/lib/client-html.ts | |||
@@ -335,6 +335,11 @@ class ClientHtml { | |||
335 | lang = req.acceptsLanguages(POSSIBLE_LOCALES) || getDefaultLocale() | 335 | lang = req.acceptsLanguages(POSSIBLE_LOCALES) || getDefaultLocale() |
336 | } | 336 | } |
337 | 337 | ||
338 | logger.debug( | ||
339 | 'Serving %s HTML language', buildFileLocale(lang), | ||
340 | { cookie: req.cookies?.clientLanguage, paramLang, acceptLanguage: req.headers['accept-language'] } | ||
341 | ) | ||
342 | |||
338 | return join(__dirname, '../../../client/dist/' + buildFileLocale(lang) + '/index.html') | 343 | return join(__dirname, '../../../client/dist/' + buildFileLocale(lang) + '/index.html') |
339 | } | 344 | } |
340 | 345 | ||