mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 02:28:10 +01:00
c5352c0309
makes for a little less black magic and more reasonable use of nurseries and less unnecessary pseudo-requests.
16 lines
371 B
Python
16 lines
371 B
Python
from quart import Blueprint
|
|
|
|
|
|
core_app: Blueprint = Blueprint(
|
|
"core", __name__, template_folder="templates", static_folder="static", static_url_path="/core/static"
|
|
)
|
|
|
|
|
|
from .views.api import * # noqa
|
|
from .views.generic import * # noqa
|
|
from .tasks import register_listeners
|
|
|
|
from lnbits.tasks import record_async
|
|
|
|
core_app.record(record_async(register_listeners))
|