more flexibility in naming
This commit is contained in:
parent
99efbe1d1f
commit
234f4b2dad
4
web.go
4
web.go
|
@ -1505,9 +1505,9 @@ func serve() {
|
|||
loggedin.Handle("/saveuser", login.CSRFWrap("saveuser", http.HandlerFunc(saveuser)))
|
||||
loggedin.Handle("/ximport", login.CSRFWrap("ximport", http.HandlerFunc(ximport)))
|
||||
loggedin.HandleFunc("/honkers", showhonkers)
|
||||
loggedin.HandleFunc("/h/{name:[[:alnum:]]+}", showhonker)
|
||||
loggedin.HandleFunc("/h/{name:[[:alnum:]_.-]+}", showhonker)
|
||||
loggedin.HandleFunc("/h", showhonker)
|
||||
loggedin.HandleFunc("/c/{name:[[:alnum:]]+}", showcombo)
|
||||
loggedin.HandleFunc("/c/{name:[[:alnum:]_.-]+}", showcombo)
|
||||
loggedin.HandleFunc("/c", showcombos)
|
||||
loggedin.HandleFunc("/t", showconvoy)
|
||||
loggedin.HandleFunc("/q", showsearch)
|
||||
|
|
Loading…
Reference in New Issue