https://supertokens.com/ logo
Title
r

rajkamalnehul

12/27/2022, 6:14 AM
In local it is working fine but getting this when deployed .Can anyone help?
r

rp

12/27/2022, 6:29 AM
hey @rajkamalnehul
can you log out the value of the env var you used for apiDomain? Whats it printing out?
r

rajkamalnehul

12/27/2022, 6:33 AM
yes its printing correctly
r

rp

12/27/2022, 6:34 AM
what is it printing?
r

rajkamalnehul

12/27/2022, 6:45 AM
backend is running on my local
r

rp

12/27/2022, 7:28 AM
Can you enable frontend debug logs and show me the output?
im not sure. You may have to debug it usng the debugger. In the first screenshot you sent, click on the normaliseUrlDomain.js phrase (in the stack trace) and add a breakpoint to it. Then execute the code with the inspect element showing and you should see the debugger stop there and see what value is getting passed into that function