lighthouse-pulse/common
Paul Hauner a3704b971e Support pre-flight CORS check (#1772)
## Issue Addressed

- Resolves #1766 

## Proposed Changes

- Use the `warp::filters::cors` filter instead of our work-around.

## Additional Info

It's not trivial to enable/disable `cors` using `warp`, since using `routes.with(cors)` changes the type of `routes`.  This makes it difficult to apply/not apply cors at runtime. My solution has been to *always* use the `warp::filters::cors` wrapper but when cors should be disabled, just pass the HTTP server listen address as the only permissible origin.
2020-10-22 04:47:27 +00:00
..
account_utils Validator dir creation (#1746) 2020-10-08 21:01:32 +00:00
clap_utils Update external deps (#1711) 2020-10-05 08:22:19 +00:00
compare_fields Check for unused deps in CI (#1262) 2020-06-14 10:59:50 +10:00
compare_fields_derive Update external deps (#1711) 2020-10-05 08:22:19 +00:00
deposit_contract Update external deps (#1711) 2020-10-05 08:22:19 +00:00
directory Update external deps (#1711) 2020-10-05 08:22:19 +00:00
eth2 Node endpoints (#1778) 2020-10-22 02:59:42 +00:00
eth2_config Bump version to v0.3.0 (#1743) 2020-10-09 02:05:30 +00:00
eth2_interop_keypairs Update external deps (#1711) 2020-10-05 08:22:19 +00:00
eth2_testnet_config Fix head tracker concurrency bugs (#1771) 2020-10-19 05:58:39 +00:00
eth2_wallet_manager Fix clippy warnings (#1385) 2020-07-23 14:18:00 +00:00
hashset_delay Add UPnP support for Lighthouse (#1587) 2020-10-03 10:07:47 +10:00
lighthouse_metrics Update external deps (#1711) 2020-10-05 08:22:19 +00:00
lighthouse_version Bump version to v0.3.0 (#1743) 2020-10-09 02:05:30 +00:00
logging Update external deps (#1711) 2020-10-05 08:22:19 +00:00
lru_cache Keep track of failed head chains and prevent re-lookups (#1534) 2020-08-18 03:54:09 +00:00
rest_types Add UPnP support for Lighthouse (#1587) 2020-10-03 10:07:47 +10:00
slot_clock Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
task_executor Upgrade discovery and restructure task execution (#1693) 2020-10-05 18:45:54 +11:00
test_random_derive Update external deps (#1711) 2020-10-05 08:22:19 +00:00
validator_dir Update external deps (#1711) 2020-10-05 08:22:19 +00:00
warp_utils Support pre-flight CORS check (#1772) 2020-10-22 04:47:27 +00:00
README.md Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00

eth2

Common crates containing eth2-specific logic.