robwebdev / ember-cli-staticboot

MIT License
31 stars 6 forks source link

Changing destDir breaks the `ember staticboot` command #21

Open mike183 opened 7 years ago

mike183 commented 7 years ago

It seems that setting a custom destDir in an applications ember-cli-build.js file causes the ember staticboot command to start returning 404 errors.

I've tracked the issue down to the staticboot-server task being hard coded to serve dist/staticboot here, rather than using the user configured destDir.

I did look at submitting a PR but was unsure of the best way to to retrieve the user configured options. If you could point me in the direction, I can take another look.