2501-готовлюсь к mainteance

This commit is contained in:
2026-01-25 05:44:16 +03:00
parent 323fc67cd5
commit 817e958646
6 changed files with 292 additions and 7 deletions

View File

@@ -24,6 +24,9 @@ type AppConfig struct {
DropTables bool `mapstructure:"drop_tables"`
StoragePath string `mapstructure:"storage_path"`
PublicURL string `mapstructure:"public_url"`
MaintenanceMode bool `mapstructure:"maintenance_mode"`
DevIDs []int64 `mapstructure:"dev_ids"` // Whitelist для режима разработки
}
type DBConfig struct {