mirror of
https://github.com/gotify/server.git
synced 2024-01-28 15:20:56 +03:00
Make ws ping interval configurable
This commit is contained in:
@@ -31,7 +31,8 @@ type Configuration struct {
|
||||
}
|
||||
ResponseHeaders map[string]string
|
||||
Stream struct {
|
||||
AllowedOrigins []string
|
||||
PingPeriodSeconds int `default:"45"`
|
||||
AllowedOrigins []string
|
||||
}
|
||||
Cors struct {
|
||||
AllowOrigins []string
|
||||
|
||||
Reference in New Issue
Block a user