This repository was archived by the owner on May 14, 2021. It is now read-only.

Description
How set allow http for KinClient?
It is my code.
const KinClient = require('@kinecosystem/kin-sdk-node').KinClient; let client = new KinClient(new Environment({url: http://horizonServerUrl.test:8006})); const fee = await client.getMinimumFee();
but when I call new KinClient, I get error Cannot connect to insecure horizon server
https://github.com/kinecosystem/js-kin-sdk/blob/703eb726143ca908150672195d1f6d90f815fc7b/src/server.js#L39
you every time to set allowHttp from options, and I don't understand how I can set allowHttp = true for sync with my node