mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore] Replace pinafore with semaphore (#1801)
* Replace pinafore with semaphore * Typo
This commit is contained in:
committed by
GitHub
parent
2063d01cdb
commit
9c24dee01f
@@ -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
|
||||
|
Reference in New Issue
Block a user