Skip to content

Wrong domain name in repository url #552

@yusiwen

Description

@yusiwen

I've run my own gitea instance for a long time and it works fine all the time until today, I git pulled the latest master branch from here. And the URL of every repo becomes something like git@localhost:USER/REPO.git, which should be git@MYDOMAIN:USER/REPO.git.

In custom/conf/app.ini , I've set DOMAIN to my domain, and it worked before. What's wrong? Is there something changes in the config file?

  • Gitea version (or commit ref): b7e1bcc
  • Git version: 2.10
  • Operating system: Ubuntu 16.04 X64
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    reviewed/wontfixThe problem described in this issue/fixed in this pull request is not a problem we will fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions