git ssb

1+

punkmonk.termux / mvd



forked from ev / mvd

Tree: 5285e716749369d47e938077f6d87389eb282ba9

Files: 5285e716749369d47e938077f6d87389eb282ba9 / 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