feat: move allowed cors url to configuration file

- don't set cors origins form field as readonly and add deprecation notice.
This commit is contained in:
jo 2022-05-23 17:12:40 +02:00 committed by Kyle Robbertze
parent 510e978952
commit eb8e7b3415
5 changed files with 63 additions and 26 deletions

View file

@ -6,6 +6,10 @@ general:
# The internal API authentication key, this field is REQUIRED
api_key:
# 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