aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-13 10:05:27 +0100
committerChocobozzz <me@florianbigard.com>2019-11-13 10:05:27 +0100
commita42294c5edbdea3075c8defc03ba2cb73e0d86fc (patch)
treeaca95591d1fb7ed89dd5f05f81406b4a4f282bac /server
parentf0c0c0abd88d0177f8be769f12d5affcacd934e8 (diff)
parent2ef1d2bb74f333b05bbbbd27282605ee5654061e (diff)
downloadPeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.tar.gz
PeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.tar.zst
PeerTube-a42294c5edbdea3075c8defc03ba2cb73e0d86fc.zip
Merge branch 'weblate' into develop
Diffstat (limited to 'server')
-rw-r--r--server/controllers/client.ts2
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