|
|
|
@ -9,8 +9,8 @@ const TelegramBot = require('../..'); |
|
|
|
const options = { |
|
|
|
const options = { |
|
|
|
webHook: { |
|
|
|
webHook: { |
|
|
|
port: 443, |
|
|
|
port: 443, |
|
|
|
key: `${__dirname}/../ssl/key.pem`, // Path to file with PEM private key
|
|
|
|
key: `${__dirname}/../ssl/key.pem`, // Path to file with PEM private key
|
|
|
|
cert: `${__dirname}/../ssl/crt.pem` // Path to file with PEM certificate
|
|
|
|
cert: `${__dirname}/../ssl/crt.pem` // Path to file with PEM certificate
|
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
// This URL must route to the port set above (i.e. 443)
|
|
|
|
// This URL must route to the port set above (i.e. 443)
|
|
|
|
|