From 8547c8e9a6c9b7b5c77ba678ff9b3a3b00ee9ed2 Mon Sep 17 00:00:00 2001 From: Administrator Date: Thu, 12 Dec 2024 15:51:27 -0700 Subject: [PATCH] push new var to frontend --- frontend/api/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/api/api.ts b/frontend/api/api.ts index 34e8a786..05f91290 100644 --- a/frontend/api/api.ts +++ b/frontend/api/api.ts @@ -44,7 +44,7 @@ export const ImageToText = async ( labels: JSON.stringify(fieldNames), }); - const imageToTextURL = `${middlewareURL}/api/image_file_to_text/`; + const imageToTextURL = `${middlewareURL}api/image_file_to_text/`; try { const response = await fetch(imageToTextURL, { method: "POST",