code style

This commit is contained in:
poma 2019-07-18 21:15:59 +03:00
parent ca3438c9b0
commit 3a35ebec86
1 changed files with 4 additions and 4 deletions

View File

@ -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')