mirror of
https://github.com/Maks1mS/nestjs-telegraf.git
synced 2025-04-01 22:23:44 +03:00
fix: fix path for webhook
This commit is contained in:
parent
7af87b289b
commit
8bfcc76232
@ -49,7 +49,7 @@ export class TelegramBot {
|
|||||||
.setWebhook(`${this.sitePublicUrl}/${path}`)
|
.setWebhook(`${this.sitePublicUrl}/${path}`)
|
||||||
.then(() => console.log('Webhook set success'))
|
.then(() => console.log('Webhook set success'))
|
||||||
|
|
||||||
return this.bot.webhookCallback(path)
|
return this.bot.webhookCallback(`/${path}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
public startPolling() {
|
public startPolling() {
|
||||||
|
Loading…
Reference in New Issue
Block a user