Add download button

This commit is contained in:
Khanh Ngo 2020-04-25 16:58:14 +07:00
parent 6f0d7bf69f
commit 91f06914d4
No known key found for this signature in database
GPG key ID: D5FAA6A16150E49E
4 changed files with 50 additions and 3 deletions

View file

@ -25,6 +25,7 @@ func main() {
app.POST("/new-client", handler.NewClient())
app.POST("/client/set-status", handler.SetClientStatus())
app.POST("/remove-client", handler.RemoveClient())
app.GET("/download", handler.DownloadClient())
app.GET("/wg-server", handler.WireGuardServer())
app.POST("wg-server/interfaces", handler.WireGuardServerInterfaces())
app.POST("wg-server/keypair", handler.WireGuardServerKeyPair())