Updated qr code events and tls server
This commit is contained in:
38
config/config.https-self-signed.example.json
Normal file
38
config/config.https-self-signed.example.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"server": {
|
||||
"host": "0.0.0.0",
|
||||
"port": 8443,
|
||||
"default_country_code": "27",
|
||||
"auth_key": "your-secure-api-key-here",
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"mode": "self-signed",
|
||||
"cert_dir": "./data/certs"
|
||||
}
|
||||
},
|
||||
"whatsapp": [
|
||||
{
|
||||
"id": "personal",
|
||||
"type": "whatsmeow",
|
||||
"phone_number": "+1234567890",
|
||||
"session_path": "./sessions/personal",
|
||||
"show_qr": true
|
||||
}
|
||||
],
|
||||
"hooks": [
|
||||
{
|
||||
"id": "message_hook",
|
||||
"name": "Message Handler",
|
||||
"url": "https://example.com/webhook",
|
||||
"method": "POST",
|
||||
"active": true,
|
||||
"events": ["message.received"]
|
||||
}
|
||||
],
|
||||
"media": {
|
||||
"data_path": "./data/media",
|
||||
"mode": "link",
|
||||
"base_url": "https://localhost:8443"
|
||||
},
|
||||
"log_level": "info"
|
||||
}
|
||||
Reference in New Issue
Block a user