Link to reported media URL in API Admin is incorrect #2689
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟨 priority: medium
Not blocking but should be addressed soon
🧱 stack: api
Related to the Django API
🔒 staff only
Restricted to staff members
Description
It appears that many of the media URLs in our image/audio report tables display in the admin UI with the wrong URL. The URLs look something like
https://openverse.org/v1/audio/<id>
orhttps://openverse.org/v1/images/<id>
for audio and images respectively. The paths themselves look like paths to the API, but the TLD directs to the frontend where every link 404s.Reproduction
I was not able to reproduce this locally because reports made via the API show up with the correct domain.
Resolution
We'll need two separate fixes as part of this issue:
The text was updated successfully, but these errors were encountered: