this is quite hacky and will be better to serve the file

This commit is contained in:
Guille Gutierrez 2024-05-03 06:26:04 +02:00
parent 20c7425637
commit 1371f3f2e5

View File

@ -23,7 +23,7 @@ class Config:
environment = 'PROD' environment = 'PROD'
database_name = 'montreal_retrofit' database_name = 'montreal_retrofit'
self._base_uri = 'https://nextgenerations-cities.encs.concordia.ca/api-results' self._base_uri = 'https://nextgenerations-cities.encs.concordia.ca/data/files/response_files'
self._database = DBControl(db_name=database_name, app_env=environment, dotenv_path=dotenv_path) self._database = DBControl(db_name=database_name, app_env=environment, dotenv_path=dotenv_path)
self._repository = Repository(db_name=database_name, app_env=environment, dotenv_path=dotenv_path) self._repository = Repository(db_name=database_name, app_env=environment, dotenv_path=dotenv_path)
self._energy_systems_catalog = EnergySystemsCatalogFactory('montreal_custom').catalog self._energy_systems_catalog = EnergySystemsCatalogFactory('montreal_custom').catalog