Thanks to Pixnet for providing the Russian translation :)

This commit is contained in:
Donald Zou
2024-09-27 22:07:50 +08:00
parent 5cea0fa87b
commit 3c9b1b1833
5 changed files with 272 additions and 42 deletions

View File

@@ -1781,8 +1781,8 @@ def API_allowAccessPeers(configName: str) -> ResponseObject:
@app.post(f'{APP_PREFIX}/api/addPeers/<configName>')
def API_addPeers(configName):
data = request.get_json()
bulkAdd = data['bulkAdd']
data: dict = request.get_json()
bulkAdd = data['bulkAdd']
bulkAddAmount = data['bulkAddAmount']
public_key = data['public_key']
allowed_ips = data['allowed_ips']