File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
validator_client/src/http_api Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1091,7 +1091,6 @@ pub fn serve<T: 'static + SlotClock + Clone, E: EthSpec>(
1091
1091
. or ( get_fee_recipient)
1092
1092
. or ( get_gas_limit)
1093
1093
. or ( get_std_keystores)
1094
- . or ( get_log_events. boxed ( ) )
1095
1094
. or ( get_std_remotekeys) ,
1096
1095
)
1097
1096
. or ( warp:: post ( ) . and (
@@ -1113,8 +1112,8 @@ pub fn serve<T: 'static + SlotClock + Clone, E: EthSpec>(
1113
1112
. or ( delete_std_remotekeys) ,
1114
1113
) ) ,
1115
1114
)
1116
- // The auth route is the only route that is allowed to be accessed without the API token.
1117
- . or ( warp:: get ( ) . and ( get_auth) )
1115
+ // The auth route and logs are the only routes that are allowed to be accessed without the API token.
1116
+ . or ( warp:: get ( ) . and ( get_auth. or ( get_log_events . boxed ( ) ) ) )
1118
1117
// Maps errors into HTTP responses.
1119
1118
. recover ( warp_utils:: reject:: handle_rejection)
1120
1119
// Add a `Server` header.
@@ -1175,4 +1174,4 @@ where
1175
1174
1176
1175
response
1177
1176
} )
1178
- }
1177
+ }
You can’t perform that action at this time.
0 commit comments