dotweb
dotweb copied to clipboard
Simple and easy go web micro framework
Results
21
dotweb issues
Sort by
recently updated
recently updated
newest added
在路由组上注册跨域中间件时。如 iweb.HttpServer.Group("/api").Use(cors.New("")) 。 当进行简单跨域请求时一切正常。 当进行复杂跨域请求时。用iweb.HttpServer.SetEnabledAutoOPTIONS(true)自动注册OPTIONS请求。会提示已被CORS策略阻止错误。 如果手动注册OPTIONS请求时一切正常。如 apiGroup.OPTIONS(”/app“, dotweb.DefaultAutoOPTIONSHandler)。