docs: add missing allowed_cors_origins config

This commit is contained in:
jo 2022-07-15 13:01:39 +02:00 committed by Jonas L
parent 484e66eb46
commit de7703ffa0
1 changed files with 5 additions and 1 deletions

View File

@ -11,11 +11,15 @@ The `general` section configure anything related to the legacy and API services.
```yml
general:
# The public url. This field is REQUIRED
# The public url, this field is REQUIRED
public_url: https://example.com
# The internal API authentication key, this field is REQUIRED
api_key: some_random_generated_secret!
# List of origins allowed to access resources on the server, default is []
# The public url origin is automatically included
allowed_cors_origins: []
# How many hours ahead Playout should cache scheduled media files, default is 1
cache_ahead_hours: 1