We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1cec64 + f55b0b7 commit bf72595Copy full SHA for bf72595
1 file changed
bin.js
@@ -52,12 +52,18 @@ if (argv[0] == 'server') {
52
.use(require('./plugins/local'))
53
.use(require('./plugins/logging'))
54
.use(require('ssb-query'))
55
- .use(require('ssb-links'))
56
.use(require('ssb-ws'))
57
.use(require('ssb-ebt'))
58
// add third-party plugins
59
require('./plugins/plugins').loadUserPlugins(createSbot, config)
60
+ if (argv[1] != '--disable-ssb-links') {
61
+ if (!createSbot.plugins.find(p => p.name == 'links2')) {
62
+ console.log("WARNING-DEPRECATION: ssb-links not installed as a plugin. If you are using git-ssb, ssb-npm or patchfoo please consider installing it")
63
+ createSbot.use(require('ssb-links'))
64
+ }
65
66
+
67
// start server
68
69
config.keys = keys
0 commit comments