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

Use static_path #58

Open
tilgovi opened this issue Nov 13, 2014 · 3 comments
Open

Use static_path #58

tilgovi opened this issue Nov 13, 2014 · 3 comments

Comments

@tilgovi
Copy link
Collaborator

tilgovi commented Nov 13, 2014

Moved from hypothesis/h#1672

This should help certain build scenarios where the output should be relocatable and the app domain is the same as the asset domain.

If webassets.base_url is absolute, request.static_path will still be absolute, so that shouldn't be an issue.

Reported by @ikreymer at http://list.hypothes.is/archive/dev/2014-11/0000027.html

@erichulser
Copy link

+1, I just had to hack in this change to support https.

@tilgovi
Copy link
Collaborator Author

tilgovi commented Jan 14, 2015

Conveniently, I suddenly have reason to do this as of the past week. If you'd like to submit a pull request, though, don't hesitate!

@erichulser
Copy link

I just hacked the installed version, so I don't have a pull request to offer.

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

No branches or pull requests

2 participants