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:
parent
e76f6d1333
commit
710ead09aa
2 changed files with 9 additions and 3 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue