From c7c774c6318fcc8a13cb7f31e2672eea4ebfc777 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Wed, 27 Apr 2022 15:07:24 +0100 Subject: 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. --- src/api/apiBase.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'src/api/apiBase.ts') 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) => { export default apiBase; export function termsBase() { - // TODO: This needs to handle local vs ferdium vs franz servers return (window as any).ferdium.stores.settings.all.app.server !== LIVE_FRANZ_API ? (window as any).ferdium.stores.settings.all.app.server : DEV_API_FRANZ_WEBSITE; -- cgit v1.2.3-70-g09d2