-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I suggest the ssh button to generate ssh address when using js to get the current page host way. #472
Comments
Thanks. Could you send a PR to gitea? |
The ssh is not equal to the Web host, so this doesn't work. The value just needs to be exposed to the installer |
He means after you install a new instance of gitea, ssh clone address' host is empty. |
It's not empty, it just defaults to the wrong hostname. |
The setting https://github.com/go-gitea/gitea/blob/master/conf/app.ini#L102 is responsible for the host displayed there. |
So we need send a bug fix? |
That's not a bug, it's simply not exposed on the installation wizard |
@tboerger I thought that is a supported interpolation syntax 😆 |
That's how the ini lib implemented the interpolation ;) |
This allows the correct host to be obtained by default without properly configuring the [server] ROOT_URL address.
The text was updated successfully, but these errors were encountered: