[PR #3684] [MERGED] fix Telegram bot ignores reverse proxy setting #5504

Closed
opened 2026-10-31 20:47:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/3684
Author: @mr-shura
Created: 1/19/2026
Status: ✅ Merged
Merged: 1/19/2026
Merged by: @MHSanaei

Base: main ← Head: patch-1


📝 Commits (1)

  • 35c2351 fix Telegram bot ignores reverse proxy setting #3673

📊 Changes

1 file changed (+25 additions, -2 deletions)

View changed files

📝 web/service/tgbot.go (+25 -2)

📄 Description

Refactor URL construction to use pre-configured URIs if available, otherwise fallback to default scheme and host.

What is the pull request?

Which part of the application is affected by the change?

  • Frontend
  • Backend

Type of Changes

  • Bug fix
  • New feature
  • Refactoring
  • Other

Screenshots


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/3684 **Author:** [@mr-shura](https://github.com/mr-shura) **Created:** 1/19/2026 **Status:** ✅ Merged **Merged:** 1/19/2026 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`35c2351`](https://github.com/MHSanaei/3x-ui/commit/35c2351da3bff9eeabf3802e5450abc661e50a6a) fix Telegram bot ignores reverse proxy setting #3673 ### 📊 Changes **1 file changed** (+25 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `web/service/tgbot.go` (+25 -2) </details> ### 📄 Description Refactor URL construction to use pre-configured URIs if available, otherwise fallback to default scheme and host. ## What is the pull request? <!-- Briefly describe the changes introduced by this pull request --> ## Which part of the application is affected by the change? - [ ] Frontend - [x] Backend ## Type of Changes - [x] Bug fix - [ ] New feature - [ ] Refactoring - [ ] Other ## Screenshots <!-- Add screenshots to illustrate the changes --> <!-- Remove this section if it is not applicable. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:47:25 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5504
No description provided.