diff --git a/dexs/luaswap/index.ts b/dexs/luaswap/index.ts index 14618cf956..092b9b84df 100644 --- a/dexs/luaswap/index.ts +++ b/dexs/luaswap/index.ts @@ -1,6 +1,7 @@ import { CHAIN } from "../../helpers/chains"; import { univ2Adapter } from "../../helpers/getUniSubgraphVolume"; -process.env.NODE_TLS_REJECT_UNAUTHORIZED='0' +// process.env.NODE_TLS_REJECT_UNAUTHORIZED='0' +// TODO: disable TLS check only for this adapter, above line disables it for all adapters which is not ok export default univ2Adapter({ [CHAIN.TOMOCHAIN]: "https://api.luaswap.org/subgraphs/name/phucngh/Luaswap3", [CHAIN.ETHEREUM]: "https://api.thegraph.com/subgraphs/name/phucngh/luaswap"