Build [v1.8.0]
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user