Ссылки теперь без base_url()

This commit is contained in:
2025-05-12 21:57:22 +08:00
parent 176e084bfb
commit d4927354d9
3 changed files with 12 additions and 12 deletions

View File

@@ -20,7 +20,7 @@
<script>
function setDefaultLogo(imgtag) {
imgtag.onerror = null
imgtag.src = '{{ base_url('no-tvg-logo.png') }}'
imgtag.src = '/no-tvg-logo.png'
}
</script>
{% endblock %}
@@ -176,7 +176,7 @@
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body text-center">
<img src="{{ base_url(playlist.code ~ '/qrcode') }}" alt="">
<img src="/{{ playlist.code }}/qrcode" alt="">
</div>
</div>
</div>
@@ -301,7 +301,7 @@
<img class="tvg-logo"
alt="Нет логотипа для канала '{{ channel.title }}'"
title="Нет логотипа для канала '{{ channel.title }}'"
src="{{ base_url('no-tvg-logo.png') }}"
src="/no-tvg-logo.png"
/>
{% endif %}
</td>
@@ -347,7 +347,7 @@
{% endblock %}
{% block footer %}
<script src="{{ base_url('js/list.min.js') }}"></script>
<script src="/js/list.min.js"></script>
<script>
const options = {
valueNames: [