Move base_url to .env

feature/plugins-parameters
mate71pl 2024-07-14 17:42:09 +02:00
rodzic eae9dd965b
commit 575ad59438
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ class Plugin(BasePlugin):
return "Generates and returns Channels utilization."
async def get_image_url(self):
base_url = "http://172.18.0.1:3000/render/d-solo/fdr9ym4rdfhmoa/loramesh"
base_url = load_env_variable('GRAFANA_BASE_URL')
org_id = "1"
panel_id = "3"
width = "1000"