Commit Graph

8 Commits (ef22042f4dfa4024955d099ee9109774fd43b095)

Author SHA1 Message Date
Kevin Wan 05a5de7c6d
chore: fix lint errors (#2520) 2 years ago
Kevin Wan 5c9fae7e62
feat: support sub domain for cors (#1827) 3 years ago
Kevin Wan 842656aa90
feat: log 404 requests with traceid (#1554) 3 years ago
Kevin Wan 3dda557410
chore: only allow cors middleware to change headers (#1276) 3 years ago
Kevin Wan c800f6f723
chore: avoid superfluous WriteHeader call errors (#1275) 3 years ago
Kevin Wan 0395ba1816
feat: add rest.WithCustomCors to let caller customize the response (#1274) 3 years ago
Kevin Wan 28409791fa
feat: support CORS, better implementation (#1217)
* feat: support CORS, better implementation

* chore: refine code
3 years ago
Kevin Wan c28e01fed3
feat: support CORS by using rest.WithCors(...) (#1212)
* feat: support CORS by using rest.WithCors(...)

* chore: add comments

* refactor: lowercase unexported methods

* ci: fix lint errors
3 years ago