translator: update translating server URL

This commit is contained in:
dymik739 2023-09-21 19:30:18 +03:00
parent 151107aa81
commit 187d990d2b
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ if (command[0] in self.aliases) and (1 <= command_length <= 3):
"target": target,
"format": "text"}
res = requests.post("http://127.0.0.1:5000/translate", data = data)
res = requests.post("http://10.1.1.1:5010/translate", data = data)
result = json.loads(res.text)
if source == "auto":