From f60cebb0721d8bfd68ae910912b14a87dda838e4 Mon Sep 17 00:00:00 2001 From: Eneko Date: Mon, 28 Sep 2020 23:11:59 +0200 Subject: [PATCH] fix: add missing `assets` command (#100) --- lnbits/app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lnbits/app.py b/lnbits/app.py index 2fe2827b..8184b04e 100644 --- a/lnbits/app.py +++ b/lnbits/app.py @@ -5,7 +5,7 @@ from quart_cors import cors # type: ignore from quart_compress import Compress # type: ignore from secure import SecureHeaders # type: ignore -from .commands import db_migrate +from .commands import db_migrate, handle_assets from .core import core_app from .db import open_db from .helpers import get_valid_extensions, get_js_vendored, get_css_vendored, url_for_vendored @@ -49,6 +49,7 @@ def register_blueprints(app: Quart) -> None: def register_commands(app: Quart): """Register Click commands.""" app.cli.add_command(db_migrate) + app.cli.add_command(handle_assets) def register_assets(app: Quart):