Removed passing of expiration time to HTTP handlers.

This commit is contained in:
Alexander Andreev 2022-06-26 15:46:49 +04:00
parent 7a7c3107d8
commit e30c3663d4
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ func main() {
captcha.Init(*captchaExpire)
hand := handlers.New(*captchaExpire)
hand := handlers.New()
srv := server.NewHttpServer()
srv.GET("/", hand.New)