diff --git a/adapters/telegram/src/bot.ts b/adapters/telegram/src/bot.ts index ac31e911..1f9c1c98 100644 --- a/adapters/telegram/src/bot.ts +++ b/adapters/telegram/src/bot.ts @@ -57,7 +57,7 @@ export class TelegramBot { + ctx.get('server').get(route + '/:file(.+)', async ctx => { const { data, type } = await this.$getFile(ctx.params.file) ctx.set('content-type', type) ctx.body = Buffer.from(data) @@ -177,8 +177,8 @@ export class TelegramBot