Remove redundant calls to baseURL/url #2581 (#2579)

---------

Co-authored-by: 이광오 <maeryo@hanwha.com>
Co-authored-by: Oleg Lobanov <oleg.lobanov@bitvavo.com>
This commit is contained in:
M A E R Y O
2023-07-31 13:27:24 +02:00
committed by GitHub
co-authored by 이광오 Oleg Lobanov
parent 2a4a46c61a
commit 4b72bbfc7f
4 changed files with 14 additions and 11 deletions
-1
View File
@@ -88,7 +88,6 @@ export async function post(url, content = "", overwrite = false, onupload) {
!["http:", "https:"].includes(window.location.protocol)) ||
// Tus is disabled / not applicable
!(await useTus(content));
return useResourcesApi
? postResources(url, content, overwrite, onupload)
: postTus(url, content, overwrite, onupload);