Is there a way to serve ember app on a sub-directory by using ember-cli?

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.

Nevermind, I figure it out finally. Turns out it is super easy: just modify the ENV.baseURL property in config/environment.js to the same of the subdirectory name!

ember-cli is awesome! :laughing: