1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps-admin.git synced 2025-03-09 15:40:05 +00:00

Fix set VPN IPs

This commit is contained in:
Ycarus 2020-06-11 20:28:27 +02:00
parent e76f6d1333
commit 710ead09aa
2 changed files with 9 additions and 3 deletions

View file

@ -1394,9 +1394,9 @@ def lan(*, lanconfig: Lanips, current_user: User = Depends(get_current_user)):
class VPNips(BaseModel):
remoteip: str
localip: str
remoteip6: str
localip6: str
ula: str
remoteip6: str = ""
localip6: str = ""
ula: str = ""
# Set user vpn IPs
@app.post('/vpnips')