Now we need to build an app with session cookie based backend server, unfortunately the server write cookies at a sub-directory path like /app
, this requires us to serve our client app under, say http://localhost:4200/app
, so that can works properly with cookies.
It seems ember-cli doesn’t provide this flexibility to choose a subdirectory in development, so how can we solve this problem? any suggestions would be appreciated.