mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -04:00
Comment typo.
This commit is contained in:
parent
55a06f216c
commit
64c7a26475
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue