From d51ed04584ada2682e203cce143f31ca6d0866bd Mon Sep 17 00:00:00 2001 From: Darius Kazemi Date: Sat, 18 Jan 2020 11:16:34 -0800 Subject: Adding Federation toggle There is now a toggle in the `config/domain-example.js` file called `isFederated`. When set to `true`, ActivityPub functions as normal. When set to false, the ActivityPub functions all immediately return without doing anything, and AP routes return 404s. --- config/domain-example.js | 1 + 1 file changed, 1 insertion(+) (limited to 'config/domain-example.js') diff --git a/config/domain-example.js b/config/domain-example.js index b84e210..c019a4a 100644 --- a/config/domain-example.js +++ b/config/domain-example.js @@ -4,6 +4,7 @@ module.exports = { 'port': '3000', 'email': 'contact@example.com', 'sitename': 'gathio', + 'isFederated': true, // If left blank, this defaults to https://yourdomain.com/images/gathio-email-logo.gif. Set a full URL here to change it to your own logo (or just change the file itself) 'logo_url': '' }; -- cgit v1.2.3