git ssb

1+

mixmix / scuttle-shell



Commit a6eace5910bd903b089ff7f98321ec73777b6c08

fix

andre alves garzia committed on 9/5/2018, 8:50:06 PM
Parent: 62ff49458ab485251bd04867309ec994c88fec21

Files changed

server.jschanged
server.jsView
@@ -53,9 +53,9 @@
5353
5454 // Custom plugins from json
5555 let appManifestFile = path.resolve('scuttleshell.json')
5656 if (fs.existsSync(appManifestFile)) {
57- let manifest = JSON.parse(fs.readFileSync(manifestPath))
57 + let manifest = JSON.parse(fs.readFileSync(appManifestFile))
5858 if (manifest.hasOwnProperty('plugins') && Array.isArray(manifest.plugins)) {
5959 console.log("loading custom plugins: ", manifest.plugins.join(", "))
6060 manifest.plugins.forEach(plugin => createSbot.use(require(plugin)))
6161 }

Built with git-ssb-web