Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow mounting application at a location other than '/' when started with rackup. #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sjbronner
Copy link

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.

All the other changes should be safe.

@Zebradil
Copy link
Contributor

Thanks for the PR!
I hope I'll manage to test it this weekend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants