Update script.js

This commit is contained in:
Voxel 2025-04-13 20:08:37 -04:00 committed by GitHub
parent 60090f6f01
commit dafc70d953
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ async function uploadFile() {
formData.append("expiryTime", timeValue); formData.append("expiryTime", timeValue);
// Replace with your actual Upload.io API URL and API key // 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 apiKey = "public_G22nhgTDm1B4ZvL1ia7nmepwHaYL"; // Replace with your Upload.io API key
const response = await fetch(apiUrl, { const response = await fetch(apiUrl, {