Correct url.

This commit is contained in:
2025-07-31 22:57:31 +02:00
parent 8ebaaf8b36
commit 7fec7ec740

View File

@@ -19,7 +19,7 @@ def export_image(url_path, filename_prefix):
os.makedirs(OUTPUT_DIR, exist_ok=True)
base_url = "http://localhost"
base_url = "https://rstat.net"
# Ensure the URL path starts correctly
url_path = url_path.lstrip("/")
url = f"{base_url}/{url_path}"