Skip to content

Commit 814a906

Browse files
committed
Applying same console fix for the subpath issue
1 parent a524d92 commit 814a906

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web-app/src/api/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Api, Error, FullRequestParams, HttpResponse } from "./operatorApi";
22

33
export let api = new Api();
4+
api.baseUrl = `${new URL(document.baseURI).pathname}api/v1`;
45
const internalRequestFunc = api.request;
56
api.request = async <T = any, E = any>({
67
body,

0 commit comments

Comments
 (0)