fix static extensions js url.

This commit is contained in:
fiatjaf 2020-09-16 20:21:42 -03:00
parent 2b38207100
commit 75047c5bc3
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{% extends "base.html" %} {% from "macros.jinja" import window_vars with context {% extends "base.html" %} {% from "macros.jinja" import window_vars with context
%} {% block scripts %} {{ window_vars(user) }} %} {% block scripts %} {{ window_vars(user) }}
<script src="/static/core/js/extensions.js"></script> <script src="/core/static/js/extensions.js"></script>
{% endblock %} {% block page %} {% endblock %} {% block page %}
<div class="row q-col-gutter-md"> <div class="row q-col-gutter-md">
<div <div

View File

@ -1,9 +1,7 @@
from quart import Blueprint from quart import Blueprint
withdraw_ext: Blueprint = Blueprint( withdraw_ext: Blueprint = Blueprint("withdraw", __name__, static_folder="static", template_folder="templates")
"withdraw", __name__, static_folder="static", template_folder="templates", static_url_path="/static"
)
from .views_api import * # noqa from .views_api import * # noqa