DavidDurika
DavidDurika
TTCTheo's Typesafe Cult
Created by DavidDurika on 6/8/2023 in #questions
UPLOADTHING_URL is still set to localhost:3000
I have my app on vercer server and I'm still getting this error: Access to fetch at 'http://localhost:3000/api/uploadthing' from origin 'https://thymotion.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. even when I set the UPLOADTHING_URL the error is the same... What should I do?
21 replies