mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-15 00:36:46 +00:00
Pass plugin as options
This commit is contained in:
parent
bc93204bd4
commit
aa729607c9
@ -34,6 +34,7 @@ class WebServer {
|
||||
events: this.events,
|
||||
host: this.host,
|
||||
port: this.port,
|
||||
plugins: this.plugins,
|
||||
openBrowser: this.webServerConfig.openBrowser
|
||||
});
|
||||
|
||||
|
@ -62,7 +62,6 @@ class Server {
|
||||
|
||||
if (self.plugins) {
|
||||
let apiCalls = self.plugins.getPluginsProperty("apiCalls", "apiCalls");
|
||||
|
||||
this.app.get('/embark-api/plugins', function(req, res) {
|
||||
res.send(JSON.stringify(self.plugins.plugins.map((plugin) => {
|
||||
return {name: plugin.name};
|
||||
|
Loading…
x
Reference in New Issue
Block a user