Fix accidentally registering same handler twice
This commit is contained in:
		@@ -72,8 +72,6 @@ func main() {
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
		processItems(*inputFile, items)
 | 
							processItems(*inputFile, items)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					 | 
				
			||||||
	http.HandleFunc("/set-speed-limit", handleSetSpeedLimit)
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func startWebServer() {
 | 
					func startWebServer() {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user