diff --git a/__init__.py b/__init__.py index 200dd84..32d8718 100644 --- a/__init__.py +++ b/__init__.py @@ -3,7 +3,6 @@ from typing import List from fastapi import APIRouter -from starlette.staticfiles import StaticFiles from lnbits.db import Database from lnbits.helpers import template_renderer @@ -16,14 +15,13 @@ nostrmarket_static_files = [ { "path": "/nostrmarket/static", - "app": StaticFiles(directory="lnbits/extensions/nostrmarket/static"), "name": "nostrmarket_static", } ] def nostrmarket_renderer(): - return template_renderer(["lnbits/extensions/nostrmarket/templates"]) + return template_renderer(["nostrmarket/templates"]) from .nostr.nostr_client import NostrClient diff --git a/config.json b/config.json index 1d05bbb..2f6c72b 100644 --- a/config.json +++ b/config.json @@ -2,5 +2,6 @@ "name": "Nostr Market", "short_description": "Nostr Webshop/market on LNbits", "tile": "/nostrmarket/static/images/bitcoin-shop.png", - "contributors": [] + "contributors": [], + "min_lnbits_version": "0.11.0" }