Specify account id in Next.js config pathname

In the video linked below (minute 5:14) Theo explains that it is important to add your UploadThing account identifier to the pathname in next.config.js to prevent others from optimising their images through your your Next.js App. However it doesn't seem like my images uploaded to UploadThing are hosted under that URL route. In the image URL, the file key comes right after /f/, for example: https://utfs.io/f/osAUv9zfuFLpB7YEJ936t2S0eHjMlpcf4KR8Wm17iZDb4k3N. My account identifier (e.g. xyz ) is not part of the image url. I'm sure I must be doing something wrong but it is not obvious to me what it is? https://youtu.be/jsuNjCAngnQ?si=9wzXylcg3r619IEn&t=314
Theo - t3․gg
YouTube
How To Avoid Big Serverless Bills
The video you guys thought I'd never make. This should be fun :) I hope these tips help you avoid unexpectedly large bills on Vercel. Thank you Payload for (un)sponsoring this video. Check them out at https://soydev.link/payload Oh also check out UploadThing: https://uploadthing.com Check out my Twitch, Twitter, Discord more at https://t3.gg ...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server