mediamtx/api
Kim Adrian Huynh 61c67cc585 feat(api): add support for multiple allowed origins with wildcards
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.
2025-11-19 02:45:54 +01:00
..
openapi.yaml feat(api): add support for multiple allowed origins with wildcards 2025-11-19 02:45:54 +01:00