feedless/web/lib/ssb-config.js

21 lines
441 B
JavaScript
Raw Permalink Normal View History

2020-04-04 17:15:43 +02:00
const configInject = require("ssb-config/inject");
2020-05-01 21:45:19 +02:00
module.exports = configInject(process.env.CONFIG_FOLDER || "ssb", {
2020-04-04 17:15:43 +02:00
connections: {
incoming: {
net: [
{
scope: "public",
host: "0.0.0.0",
external: "pub.feedless.social",
2020-04-04 17:15:43 +02:00
transform: "shs",
port: process.env.SSB_PORT || 8008,
},
],
},
outgoing: {
net: [{ transform: "shs" }],
},
},
});