diff --git a/src/aeros_simulation/service.py b/src/aeros_simulation/service.py index fc058a8..a871279 100644 --- a/src/aeros_simulation/service.py +++ b/src/aeros_simulation/service.py @@ -378,7 +378,7 @@ async def execute_simulation(*, db_session: DbSession, simulation_id: Optional[U try: if not is_saved: response = await client.post( - f"{AEROS_BASE_URL}/api/Simulation/RunSimulation", + f"{AEROS_BASE_URL_OLD}/api/Simulation/RunSimulation", json=sim_data, headers={"Content-Type": "application/json"}, ) diff --git a/src/config.py b/src/config.py index 4307603..294d342 100644 --- a/src/config.py +++ b/src/config.py @@ -75,6 +75,8 @@ MAXIMO_API_KEY = config("MAXIMO_API_KEY", default="keys") AUTH_SERVICE_API = config("AUTH_SERVICE_API", default="http://192.168.1.82:8000/auth") AEROS_BASE_URL = config("AEROS_BASE_URL", default="http://192.168.1.102") +AEROS_BASE_URL_OLD = config("AEROS_BASE_URL_OLD", default="http://192.168.1.87") + WINDOWS_AEROS_BASE_URL = config("WINDOWS_AEROS_BASE_URL", default="http://192.168.1.102:8800") DEFAULT_PROJECT_NAME = config("DEFAULT_PROJECT_NAME", default="RBD TJB")