jbilcke-hf HF staff commited on
Commit
9365f31
·
1 Parent(s): 4348dc5

fix me maybe

Browse files
Files changed (1) hide show
  1. src/app/api/v1/export/route.ts +1 -1
src/app/api/v1/export/route.ts CHANGED
@@ -18,7 +18,7 @@ export async function POST(req: NextRequest, res: NextResponse) {
18
  }
19
  } catch (err) {}
20
 
21
- NextResponse.redirect(`${
22
  process.env.AI_TUBE_CLAP_EXPORTER_URL || "http://localhost:7860"
23
  }?f=${format}`)
24
  }
 
18
  }
19
  } catch (err) {}
20
 
21
+ return NextResponse.redirect(`${
22
  process.env.AI_TUBE_CLAP_EXPORTER_URL || "http://localhost:7860"
23
  }?f=${format}`)
24
  }