func setupRoutes(r *ax.Router) { r.StrictSlash(true) r.HandleFunc("/", indexFileHandler).Methods("GET") r.HandleFunc("/{tunnel_name}", indexFileHandler).Methods("GET") http.Handle("/", r) }
func setupRoutes(r *ax.Router) { r.StrictSlash(true) r.HandleFunc("/", indexFileHandler) http.Handle("/", r) }