When using Gitea on a not-default port, some internal links still point to default port 3000 #5829

Closed
opened 2025-11-02 06:37:12 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @jowouters on GitHub (Aug 4, 2020).

  • Gitea version (or commit ref): 1.12.0
  • Git version: 2.25.1
  • Operating system: Ubuntu 20.04 LTS
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

After installing Gitea at port 3001, several urls point to the default port 3000.
All other parts of the urls are correct, only the port is wrong.

Screenshots

(sorry had to hide everything that's not relevant)
Screenshot 2020-06-20 at 00 26 02
Screenshot 2020-08-05 at 00 11 07

Originally created by @jowouters on GitHub (Aug 4, 2020). <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.12.0 - Git version: 2.25.1 - Operating system: Ubuntu 20.04 LTS - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description After installing Gitea at port 3001, several urls point to the default port 3000. All other parts of the urls are correct, only the port is wrong. ## Screenshots (sorry had to hide everything that's not relevant) <img width="1401" alt="Screenshot 2020-06-20 at 00 26 02" src="https://user-images.githubusercontent.com/1987293/89351400-37fbe800-d6b2-11ea-8d48-f0562835369c.png"> <img width="1179" alt="Screenshot 2020-08-05 at 00 11 07" src="https://user-images.githubusercontent.com/1987293/89351419-40542300-d6b2-11ea-8891-52dac2b6d65e.png"> <!-- **If this issue involves the Web Interface, please include a screenshot** -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5829