Skip to content

Commit c153277

Browse files
authored
feat: enable debug apis by default (#6824)
1 parent 966f3ac commit c153277

File tree

1 file changed

+1
-2
lines changed
  • packages/beacon-node/src/api/rest

1 file changed

+1
-2
lines changed

packages/beacon-node/src/api/rest/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ export type BeaconRestApiServerOpts = Omit<RestApiServerOpts, "bearerToken"> & {
1515

1616
export const beaconRestApiServerOpts: BeaconRestApiServerOpts = {
1717
enabled: true,
18-
// ApiNamespace "debug" is not turned on by default
19-
api: ["beacon", "config", "events", "node", "validator", "lightclient"],
18+
api: ["beacon", "config", "debug", "events", "node", "validator", "lightclient"],
2019
address: "127.0.0.1",
2120
port: 9596,
2221
cors: "*",

0 commit comments

Comments
 (0)