Skip to content

Commit 07e2e93

Browse files
committed
Fix syntax error in media upload and support conditional Vercel build
1 parent a0bc15b commit 07e2e93

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

.projects/state.local.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
},
1010
"providers": {
1111
"vercel": {
12-
"accountRequestId": "facctrq_61UpqvDICulb1QrNM16S2z3w1J8CarDnIIEWauSTg0dE",
12+
"accountRequestId": "facctrq_61UqlXdLjprT33ww016S2z3w1J8CarDnIIEWauSTgQ48",
1313
"configuration": {},
14-
"linkedAt": "2026-06-09T16:57:27.868Z",
14+
"linkedAt": "2026-06-12T05:24:50.303Z",
1515
"providerId": "prvdr_61ULUAr4zlQgZkvXY5LsG",
1616
"providerName": "Vercel",
1717
"redirectUrl": null,
18-
"requestedAt": "2026-06-09T16:57:27.868Z",
18+
"requestedAt": "2026-06-12T05:24:50.303Z",
1919
"status": "complete"
2020
}
2121
},
@@ -25,7 +25,7 @@
2525
"name": "debo"
2626
},
2727
"createdAt": "2026-06-09T16:57:30.472Z",
28-
"lastRevealedAt": "2026-06-09T16:57:31.095Z",
28+
"lastRevealedAt": "2026-06-12T05:25:18.077Z",
2929
"lastStatus": "complete",
3030
"name": "vercel",
3131
"providerId": "prvdr_61ULUAr4zlQgZkvXY5LsG",

apps/website/src/app/api/media/upload/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ export async function POST(req: Request) {
245245
})
246246
.returning();
247247

248-
// Trigger background process for voice & audio transcriptions
249248
if (sourceType === "audio" || sourceType === "voice") {
250249
const nowStr = new Date().toISOString();
251250
if (voiceSessionId) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dev:voice": "bun run --filter '@debo/voice-agent' dev",
1515
"dev:web": "bun run dev:landing",
1616
"dev:app": "bun run dev:website",
17-
"build": "bun run build:packages && bun run build:landing && bun run build:website && bun run build:voice",
17+
"build": "bun run build:packages && (if [ \"$VERCEL\" = \"1\" ]; then bun run build:website; else bun run build:landing && bun run build:website && bun run build:voice; fi)",
1818
"build:packages": "bun run --filter './packages/*' build",
1919
"build:landing": "bun run --filter '@debo/landing-page' build",
2020
"build:website": "bun run --filter '@debo/website' build",

0 commit comments

Comments
 (0)