mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 12:45:47 +00:00
feat: version info analytics (#363)
* feat: version info analytics * refactor: don't create new client everytime
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user