diff --git a/index.js b/index.js index 06287e9..f948c70 100644 --- a/index.js +++ b/index.js @@ -5,10 +5,10 @@ const express = require('express') const app = express() app.use(express.json()) app.use(function(req, res, next) { - res.header("Access-Control-Allow-Origin", "*"); // update to match the domain you will make the request from - res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept"); - next(); -}); + res.header('Access-Control-Allow-Origin', '*') // update to match the domain you will make the request from + res.header('Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept') + next() +}) const { netId, rpcUrl, privateKey, mixerAddress, defaultGasPrice } = require('./config') const { fetchGasPrice, isValidProof } = require('./utils')