From efb582a2eec7942c0ad3524ff5b6018477a5b926 Mon Sep 17 00:00:00 2001
From: meskio <meskio@sindominio.net>
Date: Tue, 15 Dec 2020 20:02:18 +0100
Subject: [PATCH] Remove the StrictSlash

---
 main.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/main.go b/main.go
index 8330b17..3745505 100644
--- a/main.go
+++ b/main.go
@@ -51,7 +51,6 @@ func main() {
 	log.Println("listening in address:", *addr)
 
 	r := mux.NewRouter()
-	r = r.StrictSlash(true)
 	apiRouter := r.PathPrefix("/api/").Subrouter()
 	mail := api.NewMail(*mailAddr, *mailPass, *mailServer, *baseURL)
 	err := api.Init(*dbPath, *signKey, mail, apiRouter)
-- 
GitLab