Skip to content

Commit

Permalink
Comment tls luaswap line
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtawa committed Dec 8, 2022
1 parent 39dbf9d commit 2f989be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dexs/luaswap/index.ts
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 2f989be

Please sign in to comment.