farbschema angepasst
This commit is contained in:
1 parent
1a8e99ef82
commit
9442ea7eb6
2 files changed
+10
-6
No files matched your search
+6
-2
@@ -50,6 +50,10 @@ WEB_PORT = int(
|
||||
os.environ.get("WEB_PORT", "8080")
|
||||
)
|
||||
|
||||
# Öffentliche Basis-URL der Bearbeitungsseite.
|
||||
# Sie wird für die Bearbeiten-Links bei fertigen Aufnahmen verwendet.
|
||||
EDITOR_URL = os.environ.get("EDITOR_URL", "")
|
||||
|
||||
TIMEZONE = ZoneInfo(os.environ.get("TIMEZONE", "Europe/Berlin"))
|
||||
|
||||
START_DELAY = float(os.environ.get("START_DELAY", "3"))
|
||||
@@ -71,7 +75,7 @@ DEFAULT_SETTINGS = {
|
||||
"edit_page_heading": os.environ.get("EDIT_PAGE_HEADING", "Aufnahme bearbeiten"),
|
||||
"git_repo_url": os.environ.get("GIT_REPO_URL", ""),
|
||||
"user_url": os.environ.get("USER_URL", ""),
|
||||
"editor_url": os.environ.get("EDITOR_URL", ""),
|
||||
"editor_url": EDITOR_URL,
|
||||
"logo_file": os.environ.get("LOGO_FILE", ""),
|
||||
"favicon_file": os.environ.get("FAVICON_FILE", ""),
|
||||
}
|
||||
@@ -1311,7 +1315,7 @@ def render_index():
|
||||
global normalizing_filename
|
||||
|
||||
files = []
|
||||
editor_base_url = load_settings().get("editor_url", "")
|
||||
editor_base_url = load_settings().get("editor_url") or EDITOR_URL
|
||||
|
||||
FINISHED_DIR.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
Reference in new issue
Block a user