diff options
author | André Oliveira <37463445+SpecialAro@users.noreply.github.com> | 2022-04-27 15:07:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 14:07:24 +0000 |
commit | c7c774c6318fcc8a13cb7f31e2672eea4ebfc777 (patch) | |
tree | 72b23f2031e00489118add998c3fed6bdbc8b9d8 /src/api | |
parent | 6.0.0-nightly.13 [skip ci] (diff) | |
download | ferdium-app-c7c774c6318fcc8a13cb7f31e2672eea4ebfc777.tar.gz ferdium-app-c7c774c6318fcc8a13cb7f31e2672eea4ebfc777.tar.zst ferdium-app-c7c774c6318fcc8a13cb7f31e2672eea4ebfc777.zip |
Add Ferdi server to hosted services (#49)
* 'SettingsNavigation.js' and 'TeamDashboard.js' also have a call to 'LIVE_FERDI_API', but it handles the teams feature that I think neither Ferdi or Ferdium provide.
* Removes comment on 'apiBase.ts' because I tested and the Terms was redirecting fine on the 'Help' Menu.
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/apiBase.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/api/apiBase.ts b/src/api/apiBase.ts index c41fbe8ba..7ed3616a8 100644 --- a/src/api/apiBase.ts +++ b/src/api/apiBase.ts | |||
@@ -34,7 +34,6 @@ const apiBase = (withVersion = true) => { | |||
34 | export default apiBase; | 34 | export default apiBase; |
35 | 35 | ||
36 | export function termsBase() { | 36 | export function termsBase() { |
37 | // TODO: This needs to handle local vs ferdium vs franz servers | ||
38 | return (window as any).ferdium.stores.settings.all.app.server !== LIVE_FRANZ_API | 37 | return (window as any).ferdium.stores.settings.all.app.server !== LIVE_FRANZ_API |
39 | ? (window as any).ferdium.stores.settings.all.app.server | 38 | ? (window as any).ferdium.stores.settings.all.app.server |
40 | : DEV_API_FRANZ_WEBSITE; | 39 | : DEV_API_FRANZ_WEBSITE; |