Custom url link wrong when accessing repository list

Issue #2627 duplicate
Xiao Yu
created an issue

Hi,

When accessing via custom url such as mydomain.com, clicking repositories in the main menu and selecting a repository makes the page navigate to mydomain.com/user/repository. While bitbucket.org/user/repository is correct, the custom url requires rather mydomain.com/repository. It currently gives an error.

Regards