Skip to content

Commit

Permalink
feat: remove check origin (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
xigongdaEricyang committed Sep 4, 2024
1 parent e32e8f4 commit d9b1b8f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/api/studio/internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ type Config struct {
// If a peer sends a message larger than this, websocket will close the connection.
// default: 8MB (8 * 1024 * 1024), 0 means no limit or system limit
ReadLimit int64 `json:",default=8388608"`

// Check Origin in websocket handshake
CheckOrigin bool `json:",default=true"`
} `json:",optional"`

DB struct {
Expand Down

0 comments on commit d9b1b8f

Please sign in to comment.