upd: coba upload file

Deskripsi:
- seafile upload
- coba api upload file api

No Issues
This commit is contained in:
2025-11-06 10:44:40 +08:00
parent 25f92e3686
commit 84d2388eb8
2 changed files with 2 additions and 11 deletions

View File

@@ -158,7 +158,6 @@ export async function uploadFile(config: Config, file: File): Promise<string> {
});
const text = await res.text();
console.log(text);
if (!res.ok) throw new Error(`Upload failed: ${text}`);
return `✅ Uploaded ${file.name} successfully`;