We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a524d92 commit 814a906Copy full SHA for 814a906
web-app/src/api/index.ts
@@ -1,6 +1,7 @@
1
import { Api, Error, FullRequestParams, HttpResponse } from "./operatorApi";
2
3
export let api = new Api();
4
+api.baseUrl = `${new URL(document.baseURI).pathname}api/v1`;
5
const internalRequestFunc = api.request;
6
api.request = async <T = any, E = any>({
7
body,
0 commit comments