lighthouse/beacon_node
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
..
beacon_chain Optimize attester slashing (#1745) 2020-10-22 01:43:54 +00:00
client Fix head tracker concurrency bugs (#1771) 2020-10-19 05:58:39 +00:00
eth1 Update external deps (#1711) 2020-10-05 08:22:19 +00:00
eth2_libp2p Node endpoints (#1778) 2020-10-22 02:59:42 +00:00
genesis Update external deps (#1711) 2020-10-05 08:22:19 +00:00
http_api Support pre-flight CORS check (#1772) 2020-10-22 04:47:27 +00:00
http_metrics Support pre-flight CORS check (#1772) 2020-10-22 04:47:27 +00:00
network Sync state adjustments (#1804) 2020-10-22 00:26:06 +00:00
operation_pool Optimize attester slashing (#1745) 2020-10-22 01:43:54 +00:00
src Support pre-flight CORS check (#1772) 2020-10-22 04:47:27 +00:00
store Fix head tracker concurrency bugs (#1771) 2020-10-19 05:58:39 +00:00
tests Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
timer Upgrade discovery and restructure task execution (#1693) 2020-10-05 18:45:54 +11:00
websocket_server Update external deps (#1711) 2020-10-05 08:22:19 +00:00
Cargo.toml Bump version to v0.3.0 (#1743) 2020-10-09 02:05:30 +00:00