fixed json error in readme

This commit is contained in:
mrfry 2023-04-06 08:07:15 +02:00
parent e307d08341
commit ae3bd7c55a

View file

@ -30,7 +30,7 @@ threads, and serve more requests at once. The used cores can be limited with env
| Name | Description | | Name | Description |
| --- | --- | | --- | --- |
| Question database | A JSON file, array of saved subjects wich have a Name, and Questions array | | Question database | A JSON file, array of saved subjects wich have a Name, and Questions array |
| peer to peer functionality | The ability to share question databases and users with other instances of this server | | Peer to peer functionality | The ability to share question databases and users with other instances of this server |
| Peer | Another instance of this server, with peer to peer functionality set up | | Peer | Another instance of this server, with peer to peer functionality set up |
| User \#1 | The first user created, admin of the server | | User \#1 | The first user created, admin of the server |
@ -62,7 +62,7 @@ To setup P2P functionality you have to create a few files in `./data/p2p`:
"name": "Any name you choose", "name": "Any name you choose",
"contact": "contact to server administrator (irc server, e-mail, anything)", "contact": "contact to server administrator (irc server, e-mail, anything)",
"host": "server host (like somesite.com, without 'http(s)://')", "host": "server host (like somesite.com, without 'http(s)://')",
"port": "server port, number", "port": "server port, number"
} }
``` ```