From 350131cbaf99bd1cbb2d0911093aa94d105de709 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Nov 2019 15:33:23 +0100 Subject: Make build works --- server/controllers/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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 const completeLocale = getCompleteLocale(locale) const completeFileLocale = buildFileLocale(completeLocale) - const path = join(__dirname, `../../../client/dist/locale/${file}_${completeFileLocale}.json`) + const path = join(__dirname, `../../../client/dist/locale/${file}.${completeFileLocale}.json`) return res.sendFile(path, { maxAge: STATIC_MAX_AGE.SERVER }) } -- cgit v1.2.3