mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-12 02:08:38 +01:00
Flask extensions are loaded in a way that makes them easily reusable by blueprints. In this commit we are also adding `environs` to manage .env and settings: breaking changes! - FLASK_APP=lnbits.app - LNBITS_ALLOWED_USERS needs to be empty now to allow all users (NOT "all")
6 lines
152 B
Python
6 lines
152 B
Python
from flask_assets import Environment # type: ignore
|
|
from flask_compress import Compress # type: ignore
|
|
|
|
|
|
assets = Environment()
|
|
compress = Compress()
|