mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-29 22:42:00 -08:00
Introduce a new `allowOrigins` configuration field (slice of strings) to replace the single-string `allowOrigin`. Add logic to validate origins against allowed patterns, supporting: - Exact matches - Wildcard domain matching (e.g., http://*.example.com) Update configuration handling in core and test components to support the new format. Maintain backwards compatibility with the old `allowOrigin` field. Update `openapi.yaml` to reflect the new configuration field. |
||
|---|---|---|
| .. | ||
| test_on_demand | ||
| versiongetter | ||
| api_test.go | ||
| core.go | ||
| core_test.go | ||
| metrics_test.go | ||
| path.go | ||
| path_manager.go | ||
| path_manager_test.go | ||
| path_test.go | ||
| source_redirect.go | ||
| upgrade.go | ||
| upgrade_disabled.go | ||