mirror of
https://github.com/labstack/echo.git
synced 2025-11-29 22:48:07 +02:00
Updated README.md with CORS middleware
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
@@ -52,7 +52,7 @@ var (
|
||||
}
|
||||
)
|
||||
|
||||
// CORS returns a cross-origin HTTP request (CORS) middleware.
|
||||
// CORS returns a Cross-Origin Resource Sharing (CORS) middleware.
|
||||
// See https://developer.mozilla.org/en/docs/Web/HTTP/Access_control_CORS
|
||||
func CORS() echo.MiddlewareFunc {
|
||||
return CORSFromConfig(DefaultCORSConfig)
|
||||
|
||||
Reference in New Issue
Block a user