You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My MEDIA_URL is /media/ (default). I'm going to change it to https://media.domain.com/ in future. Wagtail used as a headless CMS (only for APIs and media files) and lives in https://cms.domain.com/admin.
Current url format for uploaded to Wagtail videos is:
My
MEDIA_URL
is/media/
(default). I'm going to change it tohttps://media.domain.com/
in future. Wagtail used as a headless CMS (only for APIs and media files) and lives inhttps://cms.domain.com/admin
.Current url format for uploaded to Wagtail videos is:
expected url format:
IMHO
wagtailmedia
should followimages
format used in APIs https://cms.domain.com/api/v2/images/ by default...So I suggest a change: use
MEDIA_URL + "media/" + video_file_name
https://github.com/torchbox/wagtailmedia/blob/main/src/wagtailmedia/api/serializers.py#L20
The text was updated successfully, but these errors were encountered: