diff --git a/main.py b/main.py index 8901a58..e3e9c62 100644 --- a/main.py +++ b/main.py @@ -21,7 +21,7 @@ if __name__ == '__main__': "X-API-Key": config.access_token } - api_url = "https://portainer.dorfsvald.net/api/stacks" + api_url = f"{config.portainer_url}/api/stacks" response = requests.get(api_url, headers=headers) stack_list = response.json()