peatio icon indicating copy to clipboard operation
peatio copied to clipboard

Liveness and readiness endpoints permits only `HEAD` requests

Open dmk opened this issue 7 years ago • 0 comments

After #2071 health check endpoints permits only HEAD requests:

  • Before: https://github.com/rubykube/peatio/blob/603a1ca5d2ffb958a60861b93de296668e0e819f/config/routes.rb#L58-L59

  • Now: https://github.com/rubykube/peatio/blob/bca2e9ff7e5c259b1682885a9e632b783dc6840f/app/api/v2/public/tools.rb#L27 https://github.com/rubykube/peatio/blob/bca2e9ff7e5c259b1682885a9e632b783dc6840f/app/api/v2/public/tools.rb#L32

dmk avatar Feb 21 '19 12:02 dmk