code style
This commit is contained in:
parent
ca3438c9b0
commit
3a35ebec86
8
index.js
8
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')
|
||||
|
Loading…
Reference in New Issue
Block a user