We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c58c3e0 commit caed201Copy full SHA for caed201
1 file changed
app/api/user/avatar/route.ts
@@ -7,8 +7,8 @@ import sharp from "sharp";
7
8
const BUCKET = process.env.NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET!;
9
const SIZE = 400;
10
-const UPLOAD_URL = "https://upload.cornellappdev.com/upload";
11
-const REMOVE_URL = "https://upload.cornellappdev.com/remove";
+const UPLOAD_URL = "https://upload.cornellappdev.com/upload/";
+const REMOVE_URL = "https://upload.cornellappdev.com/remove/";
12
const APPDEV_BUCKET = "alumni-website";
13
14
async function uploadToAppDev(buffer: Buffer, filename: string): Promise<string> {
0 commit comments