Use localhost as dev origin instead of devvm.viktorbarzin.lan

DEV_HOST env var now controls the hostname, defaulting to localhost.
This makes the dev setup work on any machine without requiring a
specific DNS entry.
This commit is contained in:
Viktor Barzin 2026-02-06 23:44:50 +00:00
parent b9f576ae2b
commit 2626870396
No known key found for this signature in database
GPG key ID: 0EB088298288D958
3 changed files with 2 additions and 4 deletions

View file

@ -12,5 +12,5 @@ OIDC_CACHE_TTL = timedelta(
hours=1
).total_seconds() # Cache to avoid spamming authentik with requests
DEV_TIER_ORIGINS = ["https://devvm.viktorbarzin.lan/"]
DEV_TIER_ORIGINS = ["https://localhost/"]
PROD_TIER_ORIGINS = ["https://wrongmove.viktorbarzin.me/"]