mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-09 13:36:14 +00:00
fix branch
This commit is contained in:
parent
a549f96539
commit
266b74282f
@ -7,6 +7,7 @@ var express = require('express');
|
|||||||
let path = require('path');
|
let path = require('path');
|
||||||
var expressWebSocket = require('express-ws');
|
var expressWebSocket = require('express-ws');
|
||||||
var bodyParser = require('body-parser');
|
var bodyParser = require('body-parser');
|
||||||
|
var fs = require('../../core/fs.js');
|
||||||
|
|
||||||
class Server {
|
class Server {
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
@ -50,7 +51,7 @@ class Server {
|
|||||||
app.get('/*', function (req, res) {
|
app.get('/*', function (req, res) {
|
||||||
self.logger.trace('webserver> GET ' + req.path);
|
self.logger.trace('webserver> GET ' + req.path);
|
||||||
res.sendFile(path.join(fs.dappPath(self.dist, 'index.html')));
|
res.sendFile(path.join(fs.dappPath(self.dist, 'index.html')));
|
||||||
}
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
app.listen(this.port);
|
app.listen(this.port);
|
||||||
|
@ -31,9 +31,9 @@
|
|||||||
"babel-loader": "8.0.0-beta.4",
|
"babel-loader": "8.0.0-beta.4",
|
||||||
"babel-plugin-webpack-aliases": "^1.1.3",
|
"babel-plugin-webpack-aliases": "^1.1.3",
|
||||||
"bip39": "^2.5.0",
|
"bip39": "^2.5.0",
|
||||||
|
"body-parser": "^1.18.2",
|
||||||
"chokidar": "^2.0.3",
|
"chokidar": "^2.0.3",
|
||||||
"clone-deep": "^4.0.0",
|
"clone-deep": "^4.0.0",
|
||||||
"body-parser": "^1.18.2",
|
|
||||||
"colors": "^1.1.2",
|
"colors": "^1.1.2",
|
||||||
"commander": "^2.15.1",
|
"commander": "^2.15.1",
|
||||||
"css-loader": "^0.28.11",
|
"css-loader": "^0.28.11",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user