Skip to content

Commit 8eb496b

Browse files
committed
fix: fix urls for bundle upload
1 parent 1c7bcfe commit 8eb496b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/playground/src/components/Header/ActionsDropdown/UploadBundleDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ export const UploadBundleDialog = ({ isOpen, setIsOpen }: UploadBundleDialogProp
4848
}
4949

5050
const bundle = state.bundle;
51-
const loginPath = new URL('/v1/auth/login', apiBaseUrl).href;
52-
const createInstrumentPath = new URL('/v1/instruments', apiBaseUrl).href;
51+
const loginPath = `${apiBaseUrl}/v1/auth/login`;
52+
const createInstrumentPath = `${apiBaseUrl}/v1/instruments`;
5353

5454
let loginResponse: AxiosResponse<AuthPayload>;
5555
try {

0 commit comments

Comments
 (0)