mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 04:24:05 +00:00
parent
af52edaef7
commit
36e2518d79
@ -59,10 +59,13 @@ proc setupEngineAPI*(server: RpcServer) =
|
||||
|
||||
when isMainModule:
|
||||
let server = newRpcHttpServer(
|
||||
[initTAddress("127.0.0.1", 8551)],
|
||||
# authHooks = @[httpJwtAuthHook, httpCorsHook]
|
||||
# authHooks = @[httpJwtAuthHook, httpCorsHook],
|
||||
)
|
||||
|
||||
server.addHttpServer(
|
||||
initTAddress("127.0.0.1", 8551),
|
||||
maxRequestBodySize = 16 * 1024 * 1024)
|
||||
|
||||
server.setupEngineAPI()
|
||||
server.start()
|
||||
|
||||
|
2
vendor/nim-json-rpc
vendored
2
vendor/nim-json-rpc
vendored
@ -1 +1 @@
|
||||
Subproject commit 5fa7071d5bfd53f1876c898084773ea102d250cd
|
||||
Subproject commit e6810af6188a1a3433ecca6240a708eb9e595a8f
|
Loading…
x
Reference in New Issue
Block a user