Skip to content

Commit

Permalink
Remove / (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
sleyter93 committed Apr 16, 2024
1 parent a06d9a3 commit 676598b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/controller/httpsAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 676598b

Please sign in to comment.