Closed subdan closed 3 years ago
Catbird doesn't work in write mode when CATBIRD_PROXY_URL has HTTPS scheme. Vapor adds Host: 127.0.0.1:8080 header. In this case the certificate error occurs.
Host: 127.0.0.1:8080
I remove Host header in RedirectMiddleware to prevent this issue. Also fixed a typo.
Host
RedirectMiddleware
Catbird doesn't work in write mode when CATBIRD_PROXY_URL has HTTPS scheme. Vapor adds
Host: 127.0.0.1:8080
header. In this case the certificate error occurs.I remove
Host
header inRedirectMiddleware
to prevent this issue. Also fixed a typo.