fakeee: Increase incoming POST size (#4252)

Needed to handle payloads
This commit is contained in:
Jacek Sieka 2022-10-25 22:01:45 +02:00 committed by GitHub
parent af52edaef7
commit 36e2518d79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -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

@ -1 +1 @@
Subproject commit 5fa7071d5bfd53f1876c898084773ea102d250cd
Subproject commit e6810af6188a1a3433ecca6240a708eb9e595a8f