feat: version info analytics

This commit is contained in:
Stavros
2025-09-18 19:21:01 +03:00
parent 51937906ad
commit aac19d4d5a
5 changed files with 108 additions and 42 deletions

View File

@@ -39,6 +39,7 @@ type Config struct {
ResourcesDir string `mapstructure:"resources-dir"`
DatabasePath string `mapstructure:"database-path" validate:"required"`
TrustedProxies string `mapstructure:"trusted-proxies"`
DisableAnalytics bool `mapstructure:"disable-analytics"`
}
// OAuth/OIDC config
@@ -169,3 +170,7 @@ type AppPath struct {
type Providers struct {
Providers map[string]OAuthServiceConfig
}
// API server
var ApiServer = "https://api.tinyauth.app"