Config: mail@motocamp.de → banyaro.app-Adressen überall — ADMIN_EMAIL=admin@, hallo@ in Impressum/Datenschutz, SW by-v565
This commit is contained in:
parent
fd97145507
commit
7fd71342da
7 changed files with 10 additions and 10 deletions
|
|
@ -21,7 +21,7 @@ _TZ = ZoneInfo("Europe/Berlin")
|
|||
BREEDER_DOCS_DIR = os.getenv("BREEDER_DOCS_DIR", "/data/breeder_docs")
|
||||
os.makedirs(BREEDER_DOCS_DIR, exist_ok=True)
|
||||
|
||||
ADMIN_EMAIL = os.getenv("ADMIN_EMAIL", "mail@motocamp.de")
|
||||
ADMIN_EMAIL = os.getenv("ADMIN_EMAIL", "admin@banyaro.app")
|
||||
APP_URL = os.getenv("APP_URL", "https://banyaro.app")
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -258,7 +258,7 @@ async def welfare_confirm(litter_id: int, user=Depends(_require_breeder)):
|
|||
"FROM breeder_profiles bp JOIN users u ON u.id=bp.user_id "
|
||||
"WHERE bp.user_id=?", (user["id"],)
|
||||
).fetchone()
|
||||
admin_email = os.getenv("ADMIN_EMAIL", "mail@motocamp.de")
|
||||
admin_email = os.getenv("ADMIN_EMAIL", "admin@banyaro.app")
|
||||
app_url = os.getenv("APP_URL", "https://banyaro.app")
|
||||
zuechter = profile["name"] if profile else user.get("name", "Unbekannt")
|
||||
zwinger = profile["zwingername"] if profile else "—"
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ OVERPASS_URLS = [
|
|||
_overpass_sem = asyncio.Semaphore(1)
|
||||
_overpass_last_req = 0.0
|
||||
_OVERPASS_MIN_DELAY = 2.0 # Sekunden zwischen Anfragen
|
||||
_OVERPASS_UA = 'BanYaro/1.0 (https://banyaro.app; dog-walking PWA; contact: mail@motocamp.de)'
|
||||
_OVERPASS_UA = 'BanYaro/1.0 (https://banyaro.app; dog-walking PWA; contact: admin@banyaro.app)'
|
||||
_OVERPASS_HEADERS = {
|
||||
'User-Agent': _OVERPASS_UA,
|
||||
'Referer': 'https://banyaro.app/', # von overpass-api.de verlangt gegen 406
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue