Skip to content

Commit

Permalink
Applying same console fix for the subpath issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cniackz committed May 26, 2023
1 parent a524d92 commit 814a906
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web-app/src/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Api, Error, FullRequestParams, HttpResponse } from "./operatorApi";

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

0 comments on commit 814a906

Please sign in to comment.