refactor(constants): update API_ENDPOINT to use f-string for improved readability

This commit is contained in:
benex
2024-12-02 11:42:56 +03:00
parent 0b9da27def
commit cac7586a86

View File

@@ -1,4 +1,4 @@
SERVERS_AVAILABLE = ["sharepoint", "dropbox", "gogoanime", "weTransfer", "wixmp", "Yt"]
API_BASE_URL = "allanime.day"
API_REFERER = "https://allanime.to/"
API_ENDPOINT = "https://api.{}/api/".format(API_BASE_URL)
API_ENDPOINT = f"https://api.{API_BASE_URL}/api/"