move dashboard api into dashboard module

This commit is contained in:
Iuri Matias 2018-03-13 06:24:07 -04:00
parent 907f5ebdaa
commit 3175b0da8f
3 changed files with 0 additions and 4 deletions

View File

@ -17,7 +17,6 @@ class WebServer {
this.port = options.port || this.webServerConfig.port;
this.events.emit("status", __("Starting Server"));
//this.server = new Server({logger: this.logger, host: this.host, port: this.port, events: this.events});
this.server = new Server({logger: this.logger, host: this.host, port: this.port, events: this.events, plugins: this.plugins});
this.setServiceCheck();

View File

@ -40,9 +40,7 @@ class Server {
expressWebSocket(app);
let apiCalls = self.plugins.getPluginsProperty("apiCalls", "apiCalls");
console.dir(apiCalls);
for (let apiCall of apiCalls) {
console.dir("adding " + apiCall.method + " " + apiCall.endpoint);
app[apiCall.method].apply(app, [apiCall.endpoint, apiCall.cb]);
}

View File

@ -1,6 +1,5 @@
pragma solidity ^0.4.17;
contract AnotherStorage {
address public simpleStorageAddress;
address simpleStorageAddress2;