diff --git a/ui/pages/device_code.tsx b/ui/pages/device_code.tsx index c312cc83c..baa862881 100644 --- a/ui/pages/device_code.tsx +++ b/ui/pages/device_code.tsx @@ -13,7 +13,7 @@ export interface Response { async function acceptUserCode(userCode: string, challenge: string) { return axios - .put(`./api/device?device_challenge=${challenge}`, { + .put(`../api/device?device_challenge=${challenge}`, { user_code: userCode, }) .then(({ data }: Response) => {