mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
pars
This commit is contained in:
parent
05df140aa9
commit
89f92c16bd
1 changed files with 3 additions and 0 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
const express = require('express')
|
const express = require('express')
|
||||||
|
var bodyParser = require('body-parser');
|
||||||
|
app.use(express.static('client/public'));
|
||||||
|
app.use(bodyParser.json({ type: 'application/json' }));
|
||||||
const app = express()
|
const app = express()
|
||||||
const port = 3000
|
const port = 3000
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue