fix branch
This commit is contained in:
parent
06a62a03da
commit
7b31d3717a
|
@ -7,6 +7,7 @@ var express = require('express');
|
|||
let path = require('path');
|
||||
var expressWebSocket = require('express-ws');
|
||||
var bodyParser = require('body-parser');
|
||||
var fs = require('../../core/fs.js');
|
||||
|
||||
class Server {
|
||||
constructor(options) {
|
||||
|
@ -57,7 +58,7 @@ class Server {
|
|||
app.get('/*', function (req, res) {
|
||||
self.logger.trace('webserver> GET ' + req.path);
|
||||
res.sendFile(path.join(fs.dappPath(self.dist, 'index.html')));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
app.listen(this.port);
|
||||
|
|
|
@ -31,9 +31,9 @@
|
|||
"babel-loader": "^8.0.0-beta.4",
|
||||
"babel-plugin-webpack-aliases": "^1.1.3",
|
||||
"bip39": "^2.5.0",
|
||||
"body-parser": "^1.18.2",
|
||||
"chokidar": "^2.0.3",
|
||||
"clone-deep": "^4.0.0",
|
||||
"body-parser": "^1.18.2",
|
||||
"colors": "^1.1.2",
|
||||
"commander": "^2.15.1",
|
||||
"css-loader": "^0.28.11",
|
||||
|
|
Loading…
Reference in New Issue