DavidDurika
DavidDurika
TTCTheo's Typesafe Cult
Created by DavidDurika on 6/8/2023 in #questions
UPLOADTHING_URL is still set to localhost:3000
Yes I did so your code, but there is something with the process.env.* Because I'm on the Vercel so the process.env.VERCEL_URL should be populated and I even have the process.env.UPLOADTHING_URL set. but the result from that function is localhost and that is the last return of that function... That means that the process.env.* is nullish on line 174 and 176 as well. not sure why the process.env.* is not evaluated correctly...
21 replies
TTCTheo's Typesafe Cult
Created by DavidDurika on 6/8/2023 in #questions
UPLOADTHING_URL is still set to localhost:3000
@marminge ☝️ but I don't wan to point fingers at anybody! 🙂
21 replies
TTCTheo's Typesafe Cult
Created by DavidDurika on 6/8/2023 in #questions
UPLOADTHING_URL is still set to localhost:3000
sory the repo is private, but here are my findings: I have a Vercel instance with UPLOADTHING_URL=https://thymotion.com/ when I have 4.1.0 or 4.1.1 the uploadthing is pinging the localhost:300 when I downgrade to 4.0.0 the url is https://thymotion.com/ My suspicion is that something happened in this PR https://github.com/pingdotgg/uploadthing/pull/122
21 replies
TTCTheo's Typesafe Cult
Created by DavidDurika on 6/8/2023 in #questions
UPLOADTHING_URL is still set to localhost:3000
UPDATE: just tested the v4.0.0 and everything works well... So it seems that there is some error with v4.1.0+
21 replies
TTCTheo's Typesafe Cult
Created by DavidDurika on 6/8/2023 in #questions
UPLOADTHING_URL is still set to localhost:3000
thanks
21 replies