diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/controllers/client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts index 2af00e475..f9bbedc92 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -75,7 +75,7 @@ async function serveServerTranslations (req: express.Request, res: express.Respo | |||
75 | const completeLocale = getCompleteLocale(locale) | 75 | const completeLocale = getCompleteLocale(locale) |
76 | const completeFileLocale = buildFileLocale(completeLocale) | 76 | const completeFileLocale = buildFileLocale(completeLocale) |
77 | 77 | ||
78 | const path = join(__dirname, `../../../client/dist/locale/${file}_${completeFileLocale}.json`) | 78 | const path = join(__dirname, `../../../client/dist/locale/${file}.${completeFileLocale}.json`) |
79 | return res.sendFile(path, { maxAge: STATIC_MAX_AGE.SERVER }) | 79 | return res.sendFile(path, { maxAge: STATIC_MAX_AGE.SERVER }) |
80 | } | 80 | } |
81 | 81 | ||