From 9c24dee01fc88fc69d581951ef0b6266e301f326 Mon Sep 17 00:00:00 2001 From: Julian-Samuel Gebühr Date: Sun, 21 May 2023 22:40:43 +0200 Subject: [chore] Replace pinafore with semaphore (#1801) * Replace pinafore with semaphore * Typo --- internal/api/client/streaming/streaming.go | 2 +- internal/middleware/cors.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'internal') 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 }, }, } diff --git a/internal/middleware/cors.go b/internal/middleware/cors.go index 22e2e81d5..caa091e62 100644 --- a/internal/middleware/cors.go +++ b/internal/middleware/cors.go @@ -25,7 +25,7 @@ import ( ) // CORS returns a new gin middleware which allows CORS requests to be processed. -// This is necessary in order for web/browser-based clients like Pinafore to work. +// This is necessary in order for web/browser-based clients like Semaphore to work. func CORS() gin.HandlerFunc { cfg := cors.Config{ // todo: use config to customize this -- cgit v1.2.3