git ssb

1+

punkmonk.termux / mvd



forked from ev / mvd

Tree: 3ac3f63409b2f6e177034de5ad8483d25749626a

Files: 3ac3f63409b2f6e177034de5ad8483d25749626a / plugins / no-auth.js

355 bytesRaw
1
2exports.name = 'no-auth'
3exports.version = '1.0.0'
4exports.init = function (ssk, config) {
5 var Noauth = require('multiserver/plugins/noauth')
6
7 ssk.multiserver.transform({
8 name: 'noauth',
9 create: function () {
10 return Noauth({
11 keys: {
12 publicKey: Buffer.from(config.keys.public, 'base64')
13 }
14 })
15 }
16 })
17}
18

Built with git-ssb-web