summaryrefslogtreecommitdiff
path: root/internal/api/client/streaming/streaming.go
diff options
context:
space:
mode:
authorLibravatar Julian-Samuel Gebühr <julian-samuel@gebuehr.net>2023-05-21 22:40:43 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-21 22:40:43 +0200
commit9c24dee01fc88fc69d581951ef0b6266e301f326 (patch)
treed551e65614618ed09df8886df1b745850f8ab997 /internal/api/client/streaming/streaming.go
parent[bugfix] Add back removed ValidateRequest() before backoff-retry loop (#1805) (diff)
downloadgotosocial-9c24dee01fc88fc69d581951ef0b6266e301f326.tar.xz
[chore] Replace pinafore with semaphore (#1801)
* Replace pinafore with semaphore * Typo
Diffstat (limited to 'internal/api/client/streaming/streaming.go')
-rw-r--r--internal/api/client/streaming/streaming.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/streaming/streaming.go b/internal/api/client/streaming/streaming.go
index 35f8a1aed..71b325089 100644
--- a/internal/api/client/streaming/streaming.go
+++ b/internal/api/client/streaming/streaming.go
@@ -54,7 +54,7 @@ func New(processor *processing.Processor, dTicker time.Duration, wsBuf int) *Mod
ReadBufferSize: wsBuf, // we don't expect reads
WriteBufferSize: wsBuf,
- // we expect cors requests (via eg., pinafore.social) so be lenient
+ // we expect cors requests (via eg., semaphore.social) so be lenient
CheckOrigin: func(r *http.Request) bool { return true },
},
}