This commit is contained in:
Tomas Dvorak
2025-10-29 21:20:16 +01:00
parent 823fabee02
commit 16e4533202
61 changed files with 2308 additions and 942 deletions
+9
View File
@@ -187,6 +187,12 @@ type Settings struct {
AdditionalMeta string `gorm:"type:text" json:"additional_meta"` // raw extra meta
EnableIndexing bool `json:"enable_indexing"` // robots allow/disallow
// Deployment base URLs (optional runtime hints)
// FrontendBaseURL: e.g. https://club.example.com
FrontendBaseURL string `json:"frontend_base_url"`
// APIBaseURL: full API root, e.g. https://api.example.com/api/v1 or https://backend.example.com/api/v1
APIBaseURL string `json:"api_base_url"`
// Social profiles
FacebookURL string `json:"facebook_url"`
InstagramURL string `json:"instagram_url"`
@@ -241,6 +247,9 @@ type Settings struct {
ContactCountry string `json:"contact_country"`
ContactPhone string `json:"contact_phone"`
ContactEmail string `json:"contact_email"`
// Contact form auto-forwarding
ContactForwardEnabled bool `json:"contact_forward_enabled"`
ContactForwardList string `gorm:"type:text" json:"contact_forward_list"` // comma/space/semicolon-separated emails
LocationLatitude float64 `json:"location_latitude"`
LocationLongitude float64 `json:"location_longitude"`
MapZoomLevel int `gorm:"default:15" json:"map_zoom_level"`