Skip to content

Commit 428112d

Browse files
author
anmarhindi
committed
reroute to base config default
1 parent b8e7c59 commit 428112d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/services/base/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import { FetchType, jsonFetchWrapper } from "@/submodules/javascript-functions/basic-fetch";
2+
import { BACKEND_BASE_URI } from "./_settings";
23

34
export class ConfigManager {
45

56
private static config = null;
67

78
public static refreshConfig() {
8-
jsonFetchWrapper('/config/base_config', FetchType.GET, r => {
9+
jsonFetchWrapper(`${BACKEND_BASE_URI}/api/v1/misc/base-config-default`, FetchType.GET, r => {
910
ConfigManager.config = r;
1011
});
1112
}

0 commit comments

Comments
 (0)