mirror of
https://github.com/benbusby/farside.git
synced 2025-04-25 13:10:02 +00:00
Add missing handling for 4get and LibreY, remove LibreX
This commit is contained in:
parent
4b19ad5228
commit
f3ab726cec
5 changed files with 16 additions and 53 deletions
|
@ -86,8 +86,9 @@ func routing(w http.ResponseWriter, r *http.Request, jsEnabled bool, query strin
|
|||
|
||||
target, err := services.MatchRequest(segments[0])
|
||||
if err != nil {
|
||||
errMsg := fmt.Sprintf("No routing found for '%s'", segments[0])
|
||||
log.Printf("Error during match request: %v\n", err)
|
||||
http.Error(w, "No routing found for "+target, http.StatusBadRequest)
|
||||
http.Error(w, errMsg, http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue