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()
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 5fa7071d5bfd53f1876c898084773ea102d250cd
|
||||
Subproject commit e6810af6188a1a3433ecca6240a708eb9e595a8f
|
Loading…
Reference in New Issue