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

Removes MEDIA_URL prefix from returned media paths #480

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Conversation

djperrefort
Copy link
Member

The API was including a /media/ prefix when returning paths for media files. This was conflicting with the /media/ location defined in the NGINX proxy and breaking media file serving. The fix was to remove the prefix by dropping the MEDIA_URL setting.

@djperrefort djperrefort enabled auto-merge (squash) November 12, 2024 16:09
@djperrefort djperrefort merged commit 2522ca6 into main Nov 12, 2024
17 checks passed
@djperrefort djperrefort deleted the drop_media branch November 12, 2024 16:20
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.

1 participant