We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a32a44 + 8b96dce commit ee6fc60Copy full SHA for ee6fc60
1 file changed
apps/web/src/app/api/video/route.ts
@@ -104,6 +104,10 @@ export async function POST(request: Request) {
104
// Works on Vercel without the Python backend by chaining the serverless
105
// /api/transcribe and /api/extract-events routes directly.
106
107
+ // Use trusted backend origin instead of deriving from potentially user-controlled request data
108
+ const origin = BACKEND_URL;
109
+
110
+ // Step 1: Get transcript
111
let transcript = '';
112
let transcriptSource = 'none';
113
try {
0 commit comments