@emberftw wrote:
Hello, I’m working on a project with Ember as front and Laravel as backend. I’m fairly new to Ember and while trying to login it seems to not be picking up the correct API base URL from the Ember .env file when attempting to login via localhost:4200. (404 not found, screenshot attached).
For my local environment I have the API setup at api.app.test, and then in the .env file for the Ember app I have API_HOST=http://api.app.test .
I think what’s confusing me is the ember server (localhost:4200). I’m running the server using “ember server” and I also have xampp setup. My hosts file is set to 127.0.0.1 api.app.test. I’ve also tried setting up a virtual server by editing the httpd.conf and vhosts.conf files.
Regarding authentication, there is no registration function, users are added to the users table in database with preset bcrypt for passwords.
Any info is appreciated.
Posts: 1
Participants: 1