From 5f77546822841044b83df682b538935b48db8a1a Mon Sep 17 00:00:00 2001 From: Sleyter Sandoval Date: Mon, 15 Apr 2024 17:11:42 -0500 Subject: [PATCH] Remove / --- package.json | 2 +- src/controller/httpsAPI.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 07c113e..e0ee438 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rif-wallet-services", - "version": "1.0.5", + "version": "1.0.6", "description": "RIF Wallet Services", "main": "lib/index.js", "scripts": { diff --git a/src/controller/httpsAPI.ts b/src/controller/httpsAPI.ts index 3151836..3bd733d 100644 --- a/src/controller/httpsAPI.ts +++ b/src/controller/httpsAPI.ts @@ -54,7 +54,7 @@ export class HttpsAPI { .transform(address => utils.isAddress(address.toLowerCase()) ? address : '') }).required() - const whilelist = ['https://dapp.testnet.dao.rif.technology/', 'https://dapp.mainnet.dao.rif.technology/'] + const whilelist = ['https://dapp.testnet.dao.rif.technology', 'https://dapp.mainnet.dao.rif.technology'] this.app.use(cors({ origin: (origin, callback) => { if (!origin || whilelist.indexOf(origin) !== -1) {