fix: urls for includes on print.html (#2185)

* fix the url for js libs
* fix the url for css

---------

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
Tiago Vasconcelos 2023-12-18 08:30:38 +00:00 committed by GitHub
parent 7b9d370452
commit 97f8a4ab38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,11 @@
<html lang="en">
<head>
{% for url in INCLUDED_CSS %}
<link rel="stylesheet" type="text/css" href="{{ url }}" />
<link
rel="stylesheet"
type="text/css"
href="{{ static_url_for('static', url) }}"
/>
{% endfor %}
<style>
@page {
@ -34,7 +38,7 @@
</q-layout>
{% for url in INCLUDED_JS %}
<script src="{{ url }}"></script>
<script src="{{ static_url_for('static', url) }}"></script>
{% endfor %}
<!---->
{% block scripts %}{% endblock %}