1
0
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:
Vishal Rana
2016-04-07 16:57:57 -07:00
parent a3352d880c
commit a8cf473ee7
2 changed files with 2 additions and 1 deletions

View File

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