dfinity / icx-proxy

A rust-based command line tool to serve as a gateway for a Internet Computer replica.
Apache License 2.0
28 stars 15 forks source link

fix: `502` replica errors + map `DESTINATION_INVALID` to `404` #43

Closed Daniel-Bloom-dfinity closed 2 years ago

Daniel-Bloom-dfinity commented 2 years ago

This should map any canister has no query method 'http_request' or canister not found to 404.

Also change from 500 to 502 for replica errors.