I needed to mount my todo list at mypersonalsubdomain/task-web. However, links were hard-coded in several places. I have modified them to generate correct links using the url function.
I had to change @@root so that sinatra/simple-navigation will pick up the configuration file in /lib/taskwarrior-web/config instead of looking in /config. This works for me with rackup, but I don't know if it breaks something when used with vegas.
I needed to mount my todo list at
mypersonalsubdomain/task-web
. However, links were hard-coded in several places. I have modified them to generate correct links using theurl
function.I had to change
@@root
so thatsinatra/simple-navigation
will pick up the configuration file in/lib/taskwarrior-web/config
instead of looking in/config
. This works for me withrackup
, but I don't know if it breaks something when used withvegas
.All the other changes should be safe.