mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-21 17:26:29 -05:00
Remove backend url from frontend config api call
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
parent
8e291a7b34
commit
d51f62221f
1 changed files with 1 additions and 1 deletions
|
@ -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<FrontendConfigState>);
|
||||
}
|
Loading…
Reference in a new issue