UPDATE
This commit is contained in:
+5
-4
@@ -27,7 +27,8 @@ INSTALLED_APPS = [
|
||||
"django.contrib.staticfiles",
|
||||
"auth.apps.AuthConfig",
|
||||
"account.apps.AccountConfig",
|
||||
"sensor_hub.apps.SensorHubConfig",
|
||||
"farm_hub.apps.FarmHubConfig",
|
||||
"plant.apps.PlantConfig",
|
||||
"dashboard",
|
||||
"crop_zoning",
|
||||
"plant_simulator",
|
||||
@@ -146,9 +147,9 @@ EXTERNAL_SERVICES = {
|
||||
"base_url": os.getenv("AI_SERVICE_BASE_URL", ""),
|
||||
"api_key": os.getenv("AI_SERVICE_API_KEY", ""),
|
||||
},
|
||||
"sensor_hub": {
|
||||
"base_url": os.getenv("SENSOR_HUB_SERVICE_BASE_URL", ""),
|
||||
"api_key": os.getenv("SENSOR_HUB_SERVICE_API_KEY", ""),
|
||||
"farm_hub": {
|
||||
"base_url": os.getenv("FARM_HUB_SERVICE_BASE_URL", ""),
|
||||
"api_key": os.getenv("FARM_HUB_SERVICE_API_KEY", ""),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ urlpatterns = [
|
||||
path("api/docs/redoc/", SpectacularRedocView.as_view(url_name="schema"), name="redoc"),
|
||||
path("api/auth/", include("auth.urls")),
|
||||
path("api/account/", include("account.urls")),
|
||||
path("api/sensor-hub/", include("sensor_hub.urls")),
|
||||
path("api/farm-hub/", include("farm_hub.urls")),
|
||||
path("api/farm-dashboard-config/", include("dashboard.urls_config")),
|
||||
path("api/farm-dashboard/", include("dashboard.urls")),
|
||||
path("api/crop-zoning/", include("crop_zoning.urls")),
|
||||
|
||||
Reference in New Issue
Block a user