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

Added support for subpath hosting #10

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rfun
Copy link

@rfun rfun commented Oct 14, 2019

This app makes api calls which will work fine when the tethys portal is being hosted at root. If its being hosted at any other path, the ajax requests fail. This enables it to work anywhere, even if its being hosted at root as it relies on django's internal URL resolution to figure out where the server is.

@rileyhales
Copy link
Owner

visited this repo for the first time in couple months. This look pretty cool. I can merge this. Do you think we ought to include this in Tethys so that the portal, rather than apps individually, provides this url as a context variable? maybe you've already done that in your work on multi-tethys?

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.

None yet

2 participants