diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-25 09:57:52 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-25 09:57:52 +0200 |
commit | d73c98884ec7f970ed95a01fb2d445d10c53c817 (patch) | |
tree | 150d13e61a6954ea6393788c4fe2de3b28392fac /server/controllers | |
parent | a8bf1d826e379dec03d25840c7c49c1f30168380 (diff) | |
download | PeerTube-d73c98884ec7f970ed95a01fb2d445d10c53c817.tar.gz PeerTube-d73c98884ec7f970ed95a01fb2d445d10c53c817.tar.zst PeerTube-d73c98884ec7f970ed95a01fb2d445d10c53c817.zip |
Hack 459 regarding Angular & i18n
Diffstat (limited to 'server/controllers')
-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 bbb518c1b..c33061289 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -89,7 +89,7 @@ export { | |||
89 | // --------------------------------------------------------------------------- | 89 | // --------------------------------------------------------------------------- |
90 | 90 | ||
91 | async function generateHTMLPage (req: express.Request, res: express.Response, paramLang?: string) { | 91 | async function generateHTMLPage (req: express.Request, res: express.Response, paramLang?: string) { |
92 | const html = await ClientHtml.getIndexHTML(req, res) | 92 | const html = await ClientHtml.getIndexHTML(req, res, paramLang) |
93 | 93 | ||
94 | return sendHTML(html, res) | 94 | return sendHTML(html, res) |
95 | } | 95 | } |