Commit a6eace5910bd903b089ff7f98321ec73777b6c08
fix
andre alves garzia committed on 9/5/2018, 8:50:06 PMParent: 62ff49458ab485251bd04867309ec994c88fec21
Files changed
server.js | changed |
server.js | ||
---|---|---|
@@ -53,9 +53,9 @@ | ||
53 | 53 … | |
54 | 54 … | // Custom plugins from json |
55 | 55 … | let appManifestFile = path.resolve('scuttleshell.json') |
56 | 56 … | if (fs.existsSync(appManifestFile)) { |
57 | - let manifest = JSON.parse(fs.readFileSync(manifestPath)) | |
57 … | + let manifest = JSON.parse(fs.readFileSync(appManifestFile)) | |
58 | 58 … | if (manifest.hasOwnProperty('plugins') && Array.isArray(manifest.plugins)) { |
59 | 59 … | console.log("loading custom plugins: ", manifest.plugins.join(", ")) |
60 | 60 … | manifest.plugins.forEach(plugin => createSbot.use(require(plugin))) |
61 | 61 … | } |
Built with git-ssb-web