mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-09 17:34:25 +03:00
Add login page
This commit is contained in:
parent
d017ea17c8
commit
a78c9f3dd4
4 changed files with 92 additions and 0 deletions
1
main.go
1
main.go
|
@ -19,6 +19,7 @@ func main() {
|
|||
app := router.New()
|
||||
|
||||
app.GET("/", handler.WireGuardClients())
|
||||
app.GET("/login", handler.LoginPage())
|
||||
app.POST("/new-client", handler.NewClient())
|
||||
app.POST("/client/set-status", handler.SetClientStatus())
|
||||
app.POST("/remove-client", handler.RemoveClient())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue