In local it is working fine but getting this when ...
# support-questions-legacy
r
In local it is working fine but getting this when deployed .Can anyone help?
r
hey @rajkamalnehul
can you log out the value of the env var you used for apiDomain? Whats it printing out?
r
yes its printing correctly
r
what is it printing?
r
backend is running on my local
r
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