mirror of
				https://gitlab.crans.org/nounous/ghostream.git
				synced 2025-11-04 06:32:10 +01:00 
			
		
		
		
	Change not found error message
This commit is contained in:
		@@ -130,7 +130,7 @@ func viewerHandler(w http.ResponseWriter, r *http.Request) {
 | 
			
		||||
	// Validation on path
 | 
			
		||||
	if validPath.FindStringSubmatch(r.URL.Path) == nil {
 | 
			
		||||
		http.NotFound(w, r)
 | 
			
		||||
		log.Print(r.URL.Path)
 | 
			
		||||
		log.Printf("Replied not found on %s", r.URL.Path)
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user