1
0
Fork 0
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:
Ben Busby 2025-02-25 15:38:33 -07:00
parent 4b19ad5228
commit f3ab726cec
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1
5 changed files with 16 additions and 53 deletions

View file

@ -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
}