diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-20 10:17:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-20 10:18:05 +0100 |
commit | 15825ef18d3b2bb74f4e613496cf3e2921a87389 (patch) | |
tree | d68b590baa98b090c212a117317c21059e064725 /client/src/app/core/server | |
parent | 5471449f998eec270b184e6080e6f9853e5d722a (diff) | |
download | PeerTube-15825ef18d3b2bb74f4e613496cf3e2921a87389.tar.gz PeerTube-15825ef18d3b2bb74f4e613496cf3e2921a87389.tar.zst PeerTube-15825ef18d3b2bb74f4e613496cf3e2921a87389.zip |
Fix default trending algorithm in admin config
Diffstat (limited to 'client/src/app/core/server')
-rw-r--r-- | client/src/app/core/server/server.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/server/server.service.ts b/client/src/app/core/server/server.service.ts index 9db455cb8..0829d87d5 100644 --- a/client/src/app/core/server/server.service.ts +++ b/client/src/app/core/server/server.service.ts | |||
@@ -40,7 +40,7 @@ export class ServerService { | |||
40 | 40 | ||
41 | loadHTMLConfig () { | 41 | loadHTMLConfig () { |
42 | try { | 42 | try { |
43 | return this.loadHTMLConfigLocally() | 43 | this.loadHTMLConfigLocally() |
44 | } catch (err) { | 44 | } catch (err) { |
45 | // Expected in dev mode since we can't inject the config in the HTML | 45 | // Expected in dev mode since we can't inject the config in the HTML |
46 | if (environment.production !== false) { | 46 | if (environment.production !== false) { |