After much struggling I got my ember app to build for production.
I need to serve this app inside an asp.net mvc project, so placed all in my dist folder inside a root folder in my mvc project.
Then I got a MVC controller that serve up the index.html above.
I seems to got everything down except what is inside this meta tag in my index.html
<meta name="myapp/config/environment" content="%7B%22modulePrefix%22%3A%22myapp%22%2C%22host%22%3A%22https%3A//localhost/parentapp/console%22%2C%22environment%22%3A%22production%22%2C%22rootURL%22%3A%22/_console/%22%2C%22locationType%22%3A%22auto%22%2C%22EmberENV%22%3A%7B%22FEATURES%22%3A%7B%7D%7D%2C%22APP%22%3A%7B%22name%22%3A%22myapp%22%2C%22version%22%3A%220.0.0+17d24240%22%7D%2C%22exportApplicationGlobal%22%3Afalse%2C%22ember-devtools%22%3A%7B%22global%22%3Atrue%2C%22enabled%22%3Afalse%7D%7D" />
This cause the following error in my console: Uncaught UnrecognizedURLError: /myapp/console What is also weird if I go to “https://localhost/myparentapp/console” my url changes to “https://localhost/_console/myparentapp/console”. This does not happen when I remove that meta tag, but then get an error in the console "Could not read config from meta tag with name “myparentapp/config/environment”
So while this all make sense, I got no idea how to fix it, because obviously something in that meta tag I cannot figure out.