
+ Leveraging serde_json to use a config.json This lets us use the same config for both the json-api and the rtc-server without adding dependancies
19 lines
460 B
JSON
19 lines
460 B
JSON
{
|
|
"#": "The fields below are required and can not be empty",
|
|
"#": "All other fields are ignored completely",
|
|
|
|
"database_url": "mysql://freechat_dev:password@localhost:3306/freechat",
|
|
"hmac_path": "hmac.secret",
|
|
"wss_hmac_path": "wss-hmac.secret",
|
|
"name": "Freechat Server",
|
|
"description": "Chatting server",
|
|
"public_url": "http://localhost:4536",
|
|
"public_ws_url": "ws://localhost:5648",
|
|
|
|
"tags": [
|
|
"Freechat",
|
|
"Libre software",
|
|
"Chatting"
|
|
]
|
|
}
|