diff --git a/api/v2/upload.ts b/api/v2/upload.ts index d88babd..7a2547f 100644 --- a/api/v2/upload.ts +++ b/api/v2/upload.ts @@ -4,7 +4,7 @@ import { endpoint, ensurePost, parseBody } from "./utils.ts"; // Other functions can import this function to call this serverless endpoint export const uploadEndpoint = async (url: string) => { - const response = await fetch("http://localhost:3000/api/v2/upload", { + const response = await fetch("https://cdn.hackclub.com/api/v2/upload", { method: "POST", body: url, });