Bumping to ipfs-coord v6.1.8

This commit is contained in:
Chris Troutner
2021-08-26 10:17:11 -07:00
parent 2a2d940e7c
commit 596645ad6b
4 changed files with 63 additions and 27 deletions
+4 -1
View File
@@ -71,7 +71,7 @@ class Server {
// Attach REST API and JSON RPC controllers to the app.
const Controllers = require('../src/controllers')
const controllers = new Controllers()
await controllers.attachControllers(app)
await controllers.attachRESTControllers(app)
app.controllers = controllers
@@ -91,6 +91,9 @@ class Server {
const success = await this.adminLib.createSystemUser()
if (success) console.log('System admin user created.')
// Attach the other IPFS controllers
await controllers.attachControllers(app)
return app
} catch (err) {
console.error('Could not start server. Error: ', err)