move dashboard api into dashboard module
This commit is contained in:
parent
907f5ebdaa
commit
3175b0da8f
|
@ -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();
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
pragma solidity ^0.4.17;
|
||||
contract AnotherStorage {
|
||||
|
||||
address public simpleStorageAddress;
|
||||
address simpleStorageAddress2;
|
||||
|
||||
|
|
Loading…
Reference in New Issue