From d8bf7297fb15db4249688be7b6a2e8900c6bd9bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EA=B4=91=EC=98=A4?= Date: Mon, 31 Jul 2023 20:10:46 +0900 Subject: [PATCH] revert: remove initial fix for redundant tusEndpoint in URL --- frontend/src/api/utils.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frontend/src/api/utils.js b/frontend/src/api/utils.js index b6636516..7122543c 100644 --- a/frontend/src/api/utils.js +++ b/frontend/src/api/utils.js @@ -8,10 +8,6 @@ export async function fetchURL(url, opts, auth = true) { opts.headers = opts.headers || {}; let { headers, ...rest } = opts; - - if (url.startsWith(baseURL)) { - url = url.substring(baseURL.length); - } let res; try {