From 868929e9f2f50f08bc157b565149fb91f5fdc52d Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Wed, 25 Oct 2023 12:31:42 -0300 Subject: [PATCH] Update CORS origins --- flights-domain/flights-information/src/api/main.py | 2 +- gateway/src/api/main.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/flights-domain/flights-information/src/api/main.py b/flights-domain/flights-information/src/api/main.py index 8223df8..c6eaa13 100644 --- a/flights-domain/flights-information/src/api/main.py +++ b/flights-domain/flights-information/src/api/main.py @@ -13,7 +13,7 @@ app.add_middleware( CORSMiddleware, allow_origins=[ "https://fids.slc.ar", - "https://fids.slc.ar", + "https://airport.fids.slc.ar", "http://localhost:8080", "http://localhost:8081", "http://localhost:3000", diff --git a/gateway/src/api/main.py b/gateway/src/api/main.py index 7440aba..ed0b3a9 100644 --- a/gateway/src/api/main.py +++ b/gateway/src/api/main.py @@ -12,6 +12,7 @@ app.add_middleware( CORSMiddleware, allow_origins=[ "https://fids.slc.ar", + "https://airport.fids.slc.ar", "http://localhost:8080", "http://localhost:8081", "http://localhost:3000",