mirror of
https://github.com/smallnest/rpcx.git
synced 2025-10-19 14:35:00 +08:00
#313 support CORS for jsonrpc2
This commit is contained in:
@@ -79,10 +79,9 @@ type Server struct {
|
||||
tlsConfig *tls.Config
|
||||
// BlockCrypt for kcp.BlockCrypt
|
||||
options map[string]interface{}
|
||||
// // use for KCP
|
||||
// KCPConfig KCPConfig
|
||||
// // for QUIC
|
||||
// QUICConfig QUICConfig
|
||||
|
||||
// CORS options
|
||||
corsOptions *CORSOptions
|
||||
|
||||
Plugins PluginContainer
|
||||
|
||||
|
Reference in New Issue
Block a user