From dafc70d9532f13ad2eb35ab0bf05d427020302c6 Mon Sep 17 00:00:00 2001 From: Voxel Date: Sun, 13 Apr 2025 20:08:37 -0400 Subject: [PATCH] Update script.js --- host/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/script.js b/host/script.js index 3fba126..ef90e65 100644 --- a/host/script.js +++ b/host/script.js @@ -16,7 +16,7 @@ async function uploadFile() { formData.append("expiryTime", timeValue); // Replace with your actual Upload.io API URL and API key - const apiUrl = "https://api.upload.io/upload"; // Placeholder API URL + const apiUrl = "https://api.upload.io/v1/files"; // Placeholder API URL const apiKey = "public_G22nhgTDm1B4ZvL1ia7nmepwHaYL"; // Replace with your Upload.io API key const response = await fetch(apiUrl, {