Build [v1.8.0]

This commit is contained in:
Daniel Bedeleanu
2026-04-13 19:23:48 +03:00
parent 994920bda2
commit 81b775c9ae
18 changed files with 191 additions and 50 deletions

View File

@@ -24,7 +24,7 @@ log.info("TFM aInventory API process started.")
# Secure fallback: localhost only for development.
_raw_origins = os.environ.get(
"ALLOWED_ORIGINS",
"http://localhost:3000,http://localhost:3002"
"http://localhost:8907,https://localhost:8909"
)
ALLOWED_ORIGINS = [o.strip() for o in _raw_origins.split(",") if o.strip()]
log.info(f"CORS allowed origins: {ALLOWED_ORIGINS}")