mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-09 17:34:25 +03:00
Add global setting form
This commit is contained in:
parent
6f8e5cdbca
commit
e99a5ba92b
7 changed files with 240 additions and 1 deletions
2
main.go
2
main.go
|
@ -14,5 +14,7 @@ func main() {
|
|||
app.GET("/wg-server", handler.WireGuardServer())
|
||||
app.POST("wg-server/interfaces", handler.WireGuardServerInterfaces())
|
||||
app.POST("wg-server/keypair", handler.WireGuardServerKeyPair())
|
||||
app.GET("/global-settings", handler.GlobalSettings())
|
||||
app.POST("/global-settings", handler.GlobalSettingSubmit())
|
||||
app.Logger.Fatal(app.Start("127.0.0.1:5000"))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue