-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Service /media/ urls from a relative not absolute URL #228
Comments
So I understand the need for the scripts to use absolute URLs so they serve correctly if you're using subdirs for fuctions etc settings.py
urls.py:
|
Ok - please work this up into a PR. A shorter way to write the last 4 lines is: STATIC_URL = status_url+"/media" if static_url is None else "/media" |
My original post didnt reliably work I have however edited this. |
Ok. Good to hear. If you want to get the change into the code base, please put in a PR when you can. You are in the best position to test whether things work. What I can do is verify that it doesn't break the behavior I use. |
The media files are all defined using absolute URL and not relative which causes issues if trying to service the app through a proxy.
The text was updated successfully, but these errors were encountered: