From e7ffc03d718fb7507de3c162009b54ea2ed8b595 Mon Sep 17 00:00:00 2001 From: Nikos Date: Tue, 30 Apr 2024 11:53:28 +0300 Subject: [PATCH] fix: fix path --- ui/pages/device_code.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {