Updated qr code events and tls server
This commit is contained in:
41
config/config.https-letsencrypt.example.json
Normal file
41
config/config.https-letsencrypt.example.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"server": {
|
||||
"host": "0.0.0.0",
|
||||
"port": 443,
|
||||
"default_country_code": "27",
|
||||
"auth_key": "your-secure-api-key-here",
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"mode": "autocert",
|
||||
"domain": "whatshooked.example.com",
|
||||
"email": "admin@example.com",
|
||||
"cache_dir": "./data/autocert",
|
||||
"production": true
|
||||
}
|
||||
},
|
||||
"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://whatshooked.example.com"
|
||||
},
|
||||
"log_level": "info"
|
||||
}
|
||||
Reference in New Issue
Block a user