mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Fix
This commit is contained in:
@@ -105,6 +105,8 @@ export default class BotsManager {
|
|||||||
|
|
||||||
const dockerIp = await dockerIpTools.getContainerIp();
|
const dockerIp = await dockerIpTools.getContainerIp();
|
||||||
|
|
||||||
|
console.log("Docker ip: ", dockerIp);
|
||||||
|
|
||||||
await bot.telegram.setWebhook(
|
await bot.telegram.setWebhook(
|
||||||
`${env.WEBHOOK_BASE_URL}:${env.WEBHOOK_PORT}/${state.id}/${bot.telegram.token}`, {
|
`${env.WEBHOOK_BASE_URL}:${env.WEBHOOK_PORT}/${state.id}/${bot.telegram.token}`, {
|
||||||
ip_address: dockerIp,
|
ip_address: dockerIp,
|
||||||
|
|||||||
Reference in New Issue
Block a user