Comment typo.

This commit is contained in:
David Fifield 2025-06-19 15:39:24 +00:00
parent 55a06f216c
commit 64c7a26475

View file

@ -23,7 +23,7 @@ func ampClientOffers(i *IPC, w http.ResponseWriter, r *http.Request) {
// The encoded client poll message immediately follows the /amp/client/
// path prefix, so this function unfortunately needs to be aware of and
// remote its own routing prefix.
// remove its own routing prefix.
path := strings.TrimPrefix(r.URL.Path, "/amp/client/")
if path == r.URL.Path {
// The path didn't start with the expected prefix. This probably