Config host

This commit is contained in:
Bottersnike 2023-05-30 00:38:22 +01:00
parent 24367d3a8c
commit eb83f82151
No known key found for this signature in database

View File

@ -25,7 +25,7 @@ jinja_markdown.EXTENSIONS.append("toc")
HTAG = re.compile(r"<h(\d)[^>]*id=\"([^\"]+)\"[^>]*>([^<]*)</h")
TOC_HTAG_LEVELS = {"1", "2"}
HOST = "https://bsnk.me"
HOST = os.environ.get("EA_HOST", "https://bsnk.me")
TEMPLATES = "templates"
PAGES_BASE = os.environ.get("EA_PROOT", "pages")
STATIC = ["images", "static", "mice"]