When i host the frontend on my local machine the login data is returned, but when i host the site on the domain it returns 'Bad request'. How do i properly set the api up?
Solution
something like
http://207.xxx.xxx.xxx:4000
http://207.xxx.xxx.xxx:4000
could it be because im mixing http and https while using