add comment for nosurf
This commit is contained in:
		@ -14,7 +14,7 @@ func routes(app *config.AppConfig) http.Handler {
 | 
			
		||||
 | 
			
		||||
	mux.Use(middleware.Recoverer)
 | 
			
		||||
	mux.Use(WriteToConsole)
 | 
			
		||||
	mux.Use(NoSurf)
 | 
			
		||||
	mux.Use(NoSurf) // XXX: Maybe this middleware makes that I don't have to r.ParseForm before Get the elements.
 | 
			
		||||
	mux.Use(SessionLoad)
 | 
			
		||||
 | 
			
		||||
	mux.Get("/", handlers.Repo.Home)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user