Getting json parse error after adding domain

rahulonsong
HOBBY

a year ago

I’m getting JSON parse error after adding domain.

On railway settings, it shows “ setup is complete”. How can I fix this?

3 Replies

a year ago

I'm not sure what you mean by "JSON parse error", can you attach a screenshot of the error?


rahulonsong
HOBBY

a year ago

I think I know how to fix the issue. I haven’t added the new domain name (www.chempoo.com) in my CORS policy list on the server side yet. Let me try to fix this. Thanks for the response.


a year ago

Looks like your frontend is calling its own domain (and thus getting HTML back) instead of the domain of an API.