mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-05 23:26:38 +08:00
prettier
This commit is contained in:
@@ -427,4 +427,4 @@ func GetLogsAnalytics(c *gin.Context) {
|
||||
Browsers: browserList,
|
||||
TopUsers: topUsers,
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,10 +49,10 @@ func TestWebSocketCheckOrigin(t *testing.T) {
|
||||
}
|
||||
|
||||
tests := []struct {
|
||||
name string
|
||||
origin string
|
||||
host string
|
||||
wantOK bool
|
||||
name string
|
||||
origin string
|
||||
host string
|
||||
wantOK bool
|
||||
}{
|
||||
{
|
||||
name: "empty origin (non-browser clients)",
|
||||
|
||||
Reference in New Issue
Block a user