summaryrefslogtreecommitdiff
path: root/config/domain-example.js
diff options
context:
space:
mode:
authorDarius Kazemi <darius.kazemi@gmail.com>2020-01-18 11:16:34 -0800
committerDarius Kazemi <darius.kazemi@gmail.com>2020-01-18 11:28:08 -0800
commitd51ed04584ada2682e203cce143f31ca6d0866bd (patch)
tree298f949a6b572abc3810a6304c769606fbf79ab8 /config/domain-example.js
parent70982d89085c76f569b511c6245fb9a549d1825f (diff)
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.
Diffstat (limited to 'config/domain-example.js')
-rw-r--r--config/domain-example.js1
1 files changed, 1 insertions, 0 deletions
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': ''
};