summaryrefslogtreecommitdiff
path: root/internal/middleware/cors.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/middleware/cors.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/middleware/cors.go')
-rw-r--r--internal/middleware/cors.go2
1 files changed, 1 insertions, 1 deletions
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