Closed black-spidera closed 4 days ago
hey, where did you deployed your backend? can you help me out to deploy....
@black-spidera, @Satwikloka - The config for the sdk is set here - apps/storefront/src/lib/config.ts
, can you log the MEDUSA_BACKEND_URL
and process.env.NEXT_PUBLIC_MEDUSA_BACKEND_URL
to see what you're getting?
@black-spidera Could you try to add your IP address in CORS
Closing this, feel free to reopen if this is still an issue
Hello,
I’m deploying a MedusaJS2 project and am running into an issue with the admin panel login. Despite updating the backend URL in the
.env
file and even hard-coding my domain name wherelocalhost:9000
was used, it still defaults tohttp://localhost:9000/auth/user/emailpass
.I've already tried restarting the server and clearing any relevant cache, but nothing seems to work. Has anyone faced this issue before, or does anyone have suggestions on how to ensure the admin panel uses my domain URL instead of defaulting to localhost?
Thanks in advance!