fix: various fixes on community directory

This commit is contained in:
Jean-Baptiste Pasquier
2021-04-09 13:28:39 +02:00
parent 3811e74a88
commit 42205d90cd
25 changed files with 200 additions and 133 deletions

View File

@ -295,6 +295,24 @@ To activate community on Hubl, add this module declaration your `config.json`:
}
```
#### Activate the community directory
When you work with a federated application, you may want a directory for communities.
You can activate it by changing the route to anything else than false. Some endpoints will also get needed:
```json
{
"type": "communities",
"endpoints": {
"get": "http://server/communities/",
"addresses": "http://server/community-addresses/",
"uploads": "http://server/upload/"
},
"route": "communities"
}
```
### Dashboard
Dashboard includes card generation from HTML. To activate them, you need: