Skip to content

Commit caed201

Browse files
committed
Fix upuload url
1 parent c58c3e0 commit caed201

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/api/user/avatar/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import sharp from "sharp";
77

88
const BUCKET = process.env.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET!;
99
const SIZE = 400;
10-
const UPLOAD_URL = "https://upload.cornellappdev.com/upload";
11-
const REMOVE_URL = "https://upload.cornellappdev.com/remove";
10+
const UPLOAD_URL = "https://upload.cornellappdev.com/upload/";
11+
const REMOVE_URL = "https://upload.cornellappdev.com/remove/";
1212
const APPDEV_BUCKET = "alumni-website";
1313

1414
async function uploadToAppDev(buffer: Buffer, filename: string): Promise<string> {

0 commit comments

Comments
 (0)