docs: http/allowed_origins config setting description

This commit is contained in:
Nick Steel 2018-04-11 00:42:08 +01:00
parent 94ba9b6642
commit ecb5a7038a

View File

@ -98,3 +98,11 @@ See :ref:`config` for general help on configuring Mopidy.
be published. be published.
Set to an empty string to disable Zeroconf for HTTP. Set to an empty string to disable Zeroconf for HTTP.
.. confval:: http/allowed_origins
A whitelist of domains allowed to perform Cross-Origin Resource Sharing
(CORS) requests. Entries must be in the format ``hostname``:``port``.
If you want to access Mopidy's web server from a different web server, you
will need to add an entry for that server in this list.