mirror of
https://github.com/gogs/gogs.git
synced 2026-07-06 23:39:08 +02:00
gofmt
This commit is contained in:
@@ -29,7 +29,6 @@ func TestIsLocalHostname(t *testing.T) {
|
||||
{hostname: "google.com", want: false},
|
||||
{hostname: "165.232.140.255", want: false},
|
||||
|
||||
|
||||
{hostname: "192.168.123.45", allowlist: []string{"10.0.0.17"}, want: true}, // #11
|
||||
{hostname: "gogs.local", allowlist: []string{"gogs.local"}, want: false}, // #12
|
||||
|
||||
|
||||
Reference in New Issue
Block a user