diff --git a/src/entrypoint b/src/entrypoint index 77661eb..bc3daa8 100755 --- a/src/entrypoint +++ b/src/entrypoint @@ -17,7 +17,7 @@ import xmltodict MARKER = """""" SHIELD_URL = "https://img.shields.io/endpoint?url={url}" -JSON_URL = "https://raw.githubusercontent.com/wiki/{repo_name}/{filename}" +JSON_URL = os.getenv("JSON_URL", "https://raw.githubusercontent.com/wiki/{repo_name}/{filename}") def main():