Add Flags Assets and Update Configuration

- Introduced multiple SVG flag assets to the project, enhancing the visual representation of country flags.
- Updated the configuration file to include a new path for the flags assets, ensuring proper access and organization.
- Modified the main application to accommodate the new flags path, improving the overall asset management in the application.
This commit is contained in:
n.nakhostin
2025-09-09 14:48:02 +03:30
parent c06ea278c0
commit c873635f6f
281 changed files with 11567 additions and 23 deletions
+5
View File
@@ -13,6 +13,7 @@ type Config struct {
RateLimit config.RateLimitConfig `mapstructure:"rate_limiting"`
UserAuth AuthConfig `mapstructure:"user_authorization"`
CustomerAuth AuthConfig `mapstructure:"customer_authorization"`
Assets AssetsConfig `mapstructure:"assets"`
}
type AuthConfig struct {
@@ -25,3 +26,7 @@ type JWTConfig struct {
AccessExpiresIn int `mapstructure:"access_expires_in"`
RefreshExpiresIn int `mapstructure:"refresh_expires_in"`
}
type AssetsConfig struct {
FlagsPath string `mapstructure:"flags_path"`
}