Update modules/akvorado.py
This commit is contained in:
parent
39ded66c1d
commit
8e6e48e031
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ from dotenv import load_dotenv
|
||||||
|
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
|
|
||||||
BASE_URL = os.getenv("AKVORADO_BASE_URL", "http://localhost:8081/api/v0/console/widget/top")
|
BASE_URL = os.getenv("AKVORADO_BASE_URL", "http://localhost:8081/api/v0/console/widget")
|
||||||
|
|
||||||
def get_widget_data(endpoint: str):
|
def get_widget_data(endpoint: str):
|
||||||
url = f"{BASE_URL}/{endpoint}?0"
|
url = f"{BASE_URL}/{endpoint}?0"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue