#313 support CORS for jsonrpc2

This commit is contained in:
smallnest
2019-03-26 16:30:19 +08:00
parent 48023c31be
commit dd4300b521
5 changed files with 93 additions and 6 deletions

View File

@@ -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