Add support for MP3 format in product extensions

This commit is contained in:
Russell Ballestrini 2024-10-07 00:19:56 +00:00
parent f878fd6720
commit 3ec72fd5a7

View file

@ -31,7 +31,7 @@
<section class="product-left">
{% if "thumbnail1" in product.extensions %}
{% if product.extensions["product"] == "mp4" %}
{% if product.extensions["product"] in ["mp3", "mp4"] %}
<div>
<a target="_blank" href="{{ request.app["bucket.secure_uploads.get_endpoint"] }}/{{ product.s3_path }}/product?ts={{ product.updated_timestamp }}">
<br>