Open jumaediahsan opened 10 months ago
@joschan21
@jumaediahsan Here is how you can do it:
Demo : PDF Ninja Demo
Note: Check out my repository for reference 👍
You can also refer to this link for other issues: PDF Ninja Repository
This issue is arising due to the absence of authorization while fetching the file from AWS S3. The same bug also affects the 'onUploadComplete' callback.
To resolve this, go to 'UploadThing' and view an uploaded file. Copy the URL and use it as the base URL for the application. You can try using the following code snippet:
const url = 'https://utfs.io/f/' + file.key
This issue is arising due to the absence of authorization while fetching the file from AWS S3. The same bug also affects the 'onUploadComplete' callback.
To resolve this, go to 'UploadThing' and view an uploaded file. Copy the URL and use it as the base URL for the application. You can try using the following code snippet:
const url = 'https://utfs.io/f/' + file.key
thank you @conradmugabe
This issue is arising due to the absence of authorization while fetching the file from AWS S3. The same bug also affects the 'onUploadComplete' callback.
To resolve this, go to 'UploadThing' and view an uploaded file. Copy the URL and use it as the base URL for the application. You can try using the following code snippet:
const url = 'https://utfs.io/f/' + file.key
where i paste the url bro
Check src/app/api/uploadthing/core.ts
in this repo. You should see https://uploadthing-prod.s3.us-west-2.amazonaws.com/${file.key}
twice.
Check
src/app/api/uploadthing/core.ts
in this repo. You should seehttps://uploadthing-prod.s3.us-west-2.amazonaws.com/${file.key}
twice.
can you please show your code
Check
src/app/api/uploadthing/core.ts
in this repo. You should seehttps://uploadthing-prod.s3.us-west-2.amazonaws.com/${file.key}
twice.
why ?