Skip to content

Commit c37c45f

Browse files
committed
fix(wolfram): update API endpoint from HTTP to HTTPS for improved security
1 parent 30e83f8 commit c37c45f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tux/cogs/tools/wolfram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async def wolfram(self, ctx: commands.Context[Tux], *, query: str) -> None:
5454

5555
# Build the Simple API endpoint URL with URL-encoded query
5656
encoded = quote_plus(query)
57-
url = f"http://api.wolframalpha.com/v1/simple?appid={CONFIG.WOLFRAM_APP_ID}&i={encoded}"
57+
url = f"https://api.wolframalpha.com/v1/simple?appid={CONFIG.WOLFRAM_APP_ID}&i={encoded}"
5858

5959
try:
6060
# Perform async HTTP GET with a 10-second timeout

0 commit comments

Comments
 (0)