feedless/web/lib/ssb-config.js

21 lines
430 B
JavaScript
Raw 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: ["lvh.me"],
transform: "shs",
port: process.env.SSB_PORT || 8008,
},
],
},
outgoing: {
net: [{ transform: "shs" }],
},
},
});