Skip to content

Commit 321c5a3

Browse files
committed
fix(frontend): urls with http credentials broke api in chrome
1 parent 5c115c2 commit 321c5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎frontend/src/const.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const API_BASE_PATH = "/api";
1+
export const API_BASE_PATH = `${window.location.origin}/api`;
22

33
export const TEXT_FILTER_KEY = "text";
44
export const SERVICE_FILTER_KEY = "service";

0 commit comments

Comments
 (0)