2020-09-14 02:31:05 +02:00
|
|
|
from quart import Blueprint
|
2020-01-31 21:07:05 +01:00
|
|
|
|
|
|
|
|
2020-09-14 02:31:05 +02:00
|
|
|
core_app: Blueprint = Blueprint(
|
|
|
|
"core", __name__, template_folder="templates", static_folder="static", static_url_path="/core/static"
|
|
|
|
)
|
2020-01-31 21:07:05 +01:00
|
|
|
|
|
|
|
|
2020-03-08 23:00:41 +01:00
|
|
|
from .views.api import * # noqa
|
|
|
|
from .views.generic import * # noqa
|
2020-10-06 06:50:55 +02:00
|
|
|
from .tasks import register_listeners
|
2020-09-29 23:24:08 +02:00
|
|
|
|
2020-10-06 06:50:55 +02:00
|
|
|
from lnbits.tasks import record_async
|
2020-10-06 05:39:54 +02:00
|
|
|
|
2020-10-06 06:50:55 +02:00
|
|
|
core_app.record(record_async(register_listeners))
|