Browse Source

fix static extensions js url.

aiosqlite
fiatjaf 5 years ago
parent
commit
75047c5bc3
  1. 2
      lnbits/core/templates/core/extensions.html
  2. 4
      lnbits/extensions/withdraw/__init__.py

2
lnbits/core/templates/core/extensions.html

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

4
lnbits/extensions/withdraw/__init__.py

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

Loading…
Cancel
Save