Update __init__.py
This commit is contained in:
parent
a8f91b00a5
commit
37cf44cf23
|
@ -16,19 +16,7 @@ from .settings import LNBITS_PATH, WALLET, DEFAULT_USER_WALLET_NAME, FEE_RESERVE
|
||||||
|
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
Talisman(app, content_security_policy={
|
|
||||||
"default-src": [
|
|
||||||
"'self'",
|
|
||||||
"'unsafe-eval'",
|
|
||||||
"'unsafe-inline'",
|
|
||||||
"cdnjs.cloudflare.com",
|
|
||||||
"code.ionicframework.com",
|
|
||||||
"code.jquery.com",
|
|
||||||
"fonts.googleapis.com",
|
|
||||||
"fonts.gstatic.com",
|
|
||||||
"maxcdn.bootstrapcdn.com",
|
|
||||||
]
|
|
||||||
})
|
|
||||||
|
|
||||||
# filters
|
# filters
|
||||||
app.jinja_env.filters["megajson"] = megajson
|
app.jinja_env.filters["megajson"] = megajson
|
||||||
|
|
Loading…
Reference in New Issue
Block a user