Getting json parse error after adding domain
rahulonsong
HOBBYOP

2 years 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

2 years ago

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


rahulonsong
HOBBYOP

2 years 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.


2 years ago

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...