类型重命名
This commit is contained in:
parent
3f4f451435
commit
d8da38d16b
@ -13,7 +13,7 @@ namespace FastGithub.ReverseProxy
|
||||
/// <summary>
|
||||
/// github的ssl处理者
|
||||
/// </summary>
|
||||
sealed class GitubSshHandler : ConnectionHandler
|
||||
sealed class GithubSshHandler : ConnectionHandler
|
||||
{
|
||||
private const int SSH_PORT = 22;
|
||||
private const string GITHUB_COM = "github.com";
|
||||
@ -23,7 +23,7 @@ namespace FastGithub.ReverseProxy
|
||||
/// github的ssl处理者
|
||||
/// </summary>
|
||||
/// <param name="domainResolver"></param>
|
||||
public GitubSshHandler(IDomainResolver domainResolver)
|
||||
public GithubSshHandler(IDomainResolver domainResolver)
|
||||
{
|
||||
this.domainResolver = domainResolver;
|
||||
}
|
||||
@ -91,7 +91,7 @@ namespace FastGithub
|
||||
}
|
||||
else
|
||||
{
|
||||
kestrel.Listen(IPAddress.Any, SSH_PORT, listen => listen.UseConnectionHandler<GitubSshHandler>());
|
||||
kestrel.Listen(IPAddress.Any, SSH_PORT, listen => listen.UseConnectionHandler<GithubSshHandler>());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user