diff options
author | Darius Kazemi <darius.kazemi@gmail.com> | 2020-01-18 11:16:34 -0800 |
---|---|---|
committer | Darius Kazemi <darius.kazemi@gmail.com> | 2020-01-18 11:28:08 -0800 |
commit | d51ed04584ada2682e203cce143f31ca6d0866bd (patch) | |
tree | 298f949a6b572abc3810a6304c769606fbf79ab8 /config/domain-example.js | |
parent | 70982d89085c76f569b511c6245fb9a549d1825f (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.js | 1 |
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': '' }; |