From b8e2878c3d0b6d49251dcbda265891657e41607e Mon Sep 17 00:00:00 2001 From: beatmil Date: Tue, 8 Jun 2021 12:38:20 +0700 Subject: [PATCH] Remove trailing forward slash --- src/utils/withSLP.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/withSLP.js b/src/utils/withSLP.js index b90c2a0..47fead3 100644 --- a/src/utils/withSLP.js +++ b/src/utils/withSLP.js @@ -2,7 +2,7 @@ import SLPSDK from "slp-sdk"; export const getRestUrl = () => process.env.REACT_APP_NETWORK === `mainnet` - ? window.localStorage.getItem("restAPI") || `https://rest.bch.actorforth.org/v2//` + ? window.localStorage.getItem("restAPI") || `https://rest.bch.actorforth.org/v2/` : window.localStorage.getItem("restAPI") || `https://trest.bitcoin.com/v2/`; export default callback => {