mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-09 17:34:25 +03:00
Adjustment in New Client form to have Allocation IP from suggestion API
This commit is contained in:
parent
7aec01deed
commit
15703b9185
4 changed files with 213 additions and 21 deletions
1
main.go
1
main.go
|
@ -17,5 +17,6 @@ func main() {
|
|||
app.GET("/global-settings", handler.GlobalSettings())
|
||||
app.POST("/global-settings", handler.GlobalSettingSubmit())
|
||||
app.GET("/api/machine-ips", handler.MachineIPAddresses())
|
||||
app.GET("/api/suggest-client-ips", handler.SuggestIPAllocation())
|
||||
app.Logger.Fatal(app.Start("127.0.0.1:5000"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue