File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed
examples/next-app-router/components Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change 11import { TUS_UPLOAD_EXPIRATION_HOURS } from "../config/constants" ;
2- import logger from "../services/log" ;
32import TusUploadModel , { TusUpload } from "./model" ;
43
54type TusUploadDocument = any ;
Original file line number Diff line number Diff line change @@ -47,16 +47,6 @@ export default function TusUploadForm() {
4747 throw new Error ( error || "Failed to get signature" ) ;
4848 }
4949
50- // const {
51- // signature,
52- // endpoint,
53- // error: tusError,
54- // } = await signatureResponse.json();
55-
56- if ( ! signature ) {
57- throw new Error ( "Failed to get signature from presigned URL" ) ;
58- }
59-
6050 // Use the endpoint directly since we're sending signature in headers
6151 const uploadUrl = `${ endpoint } /media/create/resumable` ;
6252
You can’t perform that action at this time.
0 commit comments