Skip to content
Snippets Groups Projects
Commit efb582a2 authored by meskio's avatar meskio :tent:
Browse files

Remove the StrictSlash

parent 087b68ed
Branches
Tags
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment