|
41 | 41 | 'SERVER' => [ |
42 | 42 | Config\Option\Server\RuntimeConfigOption::class, |
43 | 43 | 'Memory limit' => Config\Option\Server\MemoryLimitConfigOption::class, |
| 44 | + 'Logs format' => Config\Option\Server\LogsFormatConfigOption::class, |
44 | 45 | ], |
45 | 46 | 'DATABASE' => [ |
46 | 47 | 'Database > Driver' => Config\Option\Database\DatabaseDriverConfigOption::class, |
|
67 | 68 | 'URL shortener > Trailing slashes' => Config\Option\UrlShortener\EnableTrailingSlashConfigOption::class, |
68 | 69 | 'URL shortener > Mode' => Config\Option\UrlShortener\ShortUrlModeConfigOption::class, |
69 | 70 | 'GeoLite2 license key' => Config\Option\UrlShortener\GeoLiteLicenseKeyConfigOption::class, |
70 | | - 'Redirects > Status code (301/302)' => Config\Option\UrlShortener\RedirectStatusCodeConfigOption::class, |
| 71 | + 'Redirects > Status code (301/302/307/308)' |
| 72 | + => Config\Option\UrlShortener\RedirectStatusCodeConfigOption::class, |
71 | 73 | 'Redirects > Caching life time' => Config\Option\UrlShortener\RedirectCacheLifeTimeConfigOption::class, |
| 74 | + 'Redirects > Caching visibility' |
| 75 | + => Config\Option\UrlShortener\RedirectCacheVisibilityConfigOption::class, |
72 | 76 | ], |
73 | 77 | 'TRACKING' => [ |
74 | 78 | 'Tracking > Orphan visits tracking' => Config\Option\Tracking\OrphanVisitsTrackingConfigOption::class, |
|
86 | 90 | 'Redirects > Invalid short URL' => Config\Option\Redirect\InvalidShortUrlRedirectConfigOption::class, |
87 | 91 | 'Redirects > Regular 404' => Config\Option\Redirect\Regular404RedirectConfigOption::class, |
88 | 92 | ], |
89 | | - 'QR CODES' => [ |
| 93 | + 'QR CODES [DEPRECATED]' => [ |
90 | 94 | 'QR codes > Default size' => Config\Option\QrCode\DefaultSizeConfigOption::class, |
91 | 95 | 'QR codes > Default margin' => Config\Option\QrCode\DefaultMarginConfigOption::class, |
92 | 96 | 'QR codes > Default format' => Config\Option\QrCode\DefaultFormatConfigOption::class, |
|
102 | 106 | 'Robots.txt > allow all' => Config\Option\Robots\RobotsAllowAllShortUrlsConfigOption::class, |
103 | 107 | 'Robots.txt > user agents' => Config\Option\Robots\RobotsUserAgentsConfigOption::class, |
104 | 108 | ], |
| 109 | + 'CORS' => [ |
| 110 | + 'CORS > Allow origin' => Config\Option\Cors\CorsAllowOriginConfigOption::class, |
| 111 | + 'CORS > Allow credentials' => Config\Option\Cors\CorsAllowCredentialsConfigOption::class, |
| 112 | + 'CORS > Max age' => Config\Option\Cors\CorsMaxAgeConfigOption::class, |
| 113 | + ], |
105 | 114 | 'APPLICATION' => [ |
106 | 115 | 'Delete short URLs > Visits threshold' => Config\Option\Visit\VisitsThresholdConfigOption::class, |
107 | 116 | 'Base path' => Config\Option\BasePathConfigOption::class, |
108 | 117 | 'Timezone' => Config\Option\TimezoneConfigOption::class, |
109 | 118 | 'Cache > namespace' => Config\Option\Cache\CacheNamespaceConfigOption::class, |
| 119 | + 'Trusted proxies' => Config\Option\TrustedProxiesConfigOption::class, |
110 | 120 | ], |
111 | 121 | 'INTEGRATIONS' => [ |
112 | 122 | 'Redis > servers' => Config\Option\Redis\RedisServersConfigOption::class, |
|
127 | 137 | 'Matomo > Server URL' => Config\Option\Matomo\MatomoBaseUrlConfigOption::class, |
128 | 138 | 'Matomo > Site ID' => Config\Option\Matomo\MatomoSiteIdConfigOption::class, |
129 | 139 | 'Matomo > API token' => Config\Option\Matomo\MatomoApiTokenConfigOption::class, |
| 140 | + 'Real-time updates > topics' => Config\Option\RealTimeUpdates\RealTimeUpdatesTopicsConfigOption::class, |
130 | 141 | ], |
131 | 142 | ], |
132 | 143 |
|
133 | 144 | 'factories' => [ |
134 | 145 | Config\Option\Server\RuntimeConfigOption::class => InvokableFactory::class, |
135 | 146 | Config\Option\Server\MemoryLimitConfigOption::class => InvokableFactory::class, |
| 147 | + Config\Option\Server\LogsFormatConfigOption::class => InvokableFactory::class, |
136 | 148 | Config\Option\BasePathConfigOption::class => InvokableFactory::class, |
137 | 149 | Config\Option\TimezoneConfigOption::class => InvokableFactory::class, |
138 | 150 | Config\Option\Cache\CacheNamespaceConfigOption::class => InvokableFactory::class, |
|
187 | 199 | Config\Option\Tracking\DisableUaTrackingConfigOption::class => InvokableFactory::class, |
188 | 200 | Config\Option\UrlShortener\RedirectStatusCodeConfigOption::class => InvokableFactory::class, |
189 | 201 | Config\Option\UrlShortener\RedirectCacheLifeTimeConfigOption::class => InvokableFactory::class, |
| 202 | + Config\Option\UrlShortener\RedirectCacheVisibilityConfigOption::class => InvokableFactory::class, |
| 203 | + Config\Option\RealTimeUpdates\RealTimeUpdatesTopicsConfigOption::class => InvokableFactory::class, |
| 204 | + Config\Option\Cors\CorsAllowOriginConfigOption::class => InvokableFactory::class, |
| 205 | + Config\Option\Cors\CorsAllowCredentialsConfigOption::class => InvokableFactory::class, |
| 206 | + Config\Option\Cors\CorsMaxAgeConfigOption::class => InvokableFactory::class, |
190 | 207 | Config\Option\QrCode\DefaultSizeConfigOption::class => InvokableFactory::class, |
191 | 208 | Config\Option\QrCode\DefaultMarginConfigOption::class => InvokableFactory::class, |
192 | 209 | Config\Option\QrCode\DefaultFormatConfigOption::class => InvokableFactory::class, |
|
0 commit comments