mirror of
https://github.com/System-End/cdn.git
synced 2026-04-19 16:18:17 +00:00
Switch to production endpoint for v2 upload
This commit is contained in:
parent
facac3b246
commit
387b549cb4
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue