ScalaConsultants/recru-app

Modify the Router to handle the app properly from the subfolder.

Closed this issue · 2 comments

Currently the app is deployed to Github Pages here and the router knows nothing about the base URI - that's why it displays 404 message. Therefore we need to fix this situation.

There are two ways one of which would require greater amount of work:

  1. If este.js had build environment specific configs it would be trivial to do it like ember does.
  2. Otherwise we might try to figure it out by using a technique I have used in founders map quest app.

I put together an RFC article about needed changes in este core: https://gist.github.com/mareksuscak/49626aeee0363b5ab77d

At moment index.html must be generated manually with every deploy. However it is now possible to change the base uri of the app.