mirror of
https://github.com/labstack/echo.git
synced 2025-11-29 22:48:07 +02:00
format code (gofmt + trim trailing space) (#1452)
This commit is contained in:
committed by
Vishal Rana
parent
8d7f05e533
commit
712b5e46c5
@@ -73,7 +73,7 @@ func TestCORS(t *testing.T) {
|
||||
c = e.NewContext(req, rec)
|
||||
req.Header.Set(echo.HeaderOrigin, "http://aaa.example.com")
|
||||
cors = CORSWithConfig(CORSConfig{
|
||||
AllowOrigins: []string{"http://*.example.com"},
|
||||
AllowOrigins: []string{"http://*.example.com"},
|
||||
})
|
||||
h = cors(echo.NotFoundHandler)
|
||||
h(c)
|
||||
|
||||
Reference in New Issue
Block a user