From d51f62221f55963ff6bb80ed8590f350f5db6a42 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Sat, 23 May 2020 23:20:22 +0200 Subject: [PATCH] Remove backend url from frontend config api call Signed-off-by: Tilman Vatteroth --- src/api/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/config.ts b/src/api/config.ts index 7935873ad..cfe0c4bb3 100644 --- a/src/api/config.ts +++ b/src/api/config.ts @@ -9,7 +9,7 @@ export const getBackendConfig = async () => { } export const getFrontendConfig = async () => { - return fetch(getBackendUrl() + '/config.json') + return fetch('config.json') .then(expectResponseCode()) .then(response => response.json() as Promise); } \ No newline at end of file