summaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.go b/server.go
index 1d73a0f..6720b41 100644
--- a/server.go
+++ b/server.go
@@ -8,6 +8,7 @@ import (
func main() {
e := echo.New()
e.POST("/upload", handlers.AddHash)
- //e.POST("/verify", handlers.VerifyHash)
+ e.POST("/verify", handlers.VerifyHash)
+ //e.Logger.Fatal(e.Start(":3000"))
e.Logger.Fatal(e.StartTLS(":3000", "/etc/letsencrypt/live/draconyan.xyz/fullchain.pem", "/etc/letsencrypt/live/draconyan.xyz/privkey.pem"))
}