diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-13 12:47:13 -0400 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-10-13 12:47:13 -0400 |
commit | 8d50644d27d041fad94a5c770848c969adc1cb1e (patch) | |
tree | 28254750d4327d0d5c23124d761b40ab1d471e15 /pkg/api | |
parent | b21946cf0c10f726ae6cf129678e0ee2eba07dc8 (diff) | |
download | Atlas-8d50644d27d041fad94a5c770848c969adc1cb1e.tar.gz Atlas-8d50644d27d041fad94a5c770848c969adc1cb1e.zip |
pkg/api/api0: Fix regression in bff9a5ca7c1ed1ab0af80d9cad17b63672f9a9fc
/player/ endpoints fall through.
Diffstat (limited to 'pkg/api')
-rw-r--r-- | pkg/api/api0/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/api0/api.go b/pkg/api/api0/api.go index 4e8c064..632c6e8 100644 --- a/pkg/api/api0/api.go +++ b/pkg/api/api0/api.go @@ -47,6 +47,7 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { if strings.HasPrefix(r.URL.Path, "/player/") { // TODO: rate limit h.handlePlayer(w, r) + return } if h.NotFound == nil { http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound) |