{"action":"created","issue":{"url":"https://api.github.com/repos/alerta/docker-alerta/issues/52","repository_url":"https://api.github.com/repos/alerta/docker-alerta","labels_url":"https://api.github.com/repos/alerta/docker-alerta/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/alerta/docker-alerta/issues/52/comments","events_url":"https://api.github.com/repos/alerta/docker-alerta/issues/52/events","html_url":"https://github.com/alerta/docker-alerta/issues/52","id":297197918,"number":52,"title":"How is CORS_ORIGINS set?","user":{"login":"jaxxstorm","id":1622940,"avatar_url":"https://avatars2.githubusercontent.com/u/1622940?v=4","gravatar_id":"","url":"https://api.github.com/users/jaxxstorm","html_url":"https://github.com/jaxxstorm","followers_url":"https://api.github.com/users/jaxxstorm/followers","following_url":"https://api.github.com/users/jaxxstorm/following{/other_user}","gists_url":"https://api.github.com/users/jaxxstorm/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxxstorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxxstorm/subscriptions","organizations_url":"https://api.github.com/users/jaxxstorm/orgs","repos_url":"https://api.github.com/users/jaxxstorm/repos","events_url":"https://api.github.com/users/jaxxstorm/events{/privacy}","received_events_url":"https://api.github.com/users/jaxxstorm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-14T18:25:23Z","updated_at":"2018-02-14T21:53:21Z","closed_at":null,"author_association":"NONE","body":"I'm building a [helm chart](https://helm.sh) for alerta, and I'd like to know how the CORS_ORIGINS are set. It's currently an env var, but I wanna know if it's comma separated or something, so I know if I can loop through it"},"comment":{"url":"https://api.github.com/repos/alerta/docker-alerta/issues/comments/365757214","html_url":"https://github.com/alerta/docker-alerta/issues/52#issuecomment-365757214","issue_url":"https://api.github.com/repos/alerta/docker-alerta/issues/52","id":365757214,"user":{"login":"satterly","id":615057,"avatar_url":"https://avatars0.githubusercontent.com/u/615057?v=4","gravatar_id":"","url":"https://api.github.com/users/satterly","html_url":"https://github.com/satterly","followers_url":"https://api.github.com/users/satterly/followers","following_url":"https://api.github.com/users/satterly/following{/other_user}","gists_url":"https://api.github.com/users/satterly/gists{/gist_id}","starred_url":"https://api.github.com/users/satterly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satterly/subscriptions","organizations_url":"https://api.github.com/users/satterly/orgs","repos_url":"https://api.github.com/users/satterly/repos","events_url":"https://api.github.com/users/satterly/events{/privacy}","received_events_url":"https://api.github.com/users/satterly/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T21:53:21Z","updated_at":"2018-02-14T21:53:21Z","author_association":"OWNER","body":"If set as an [environment variable](https://github.com/alerta/alerta/blob/master/alerta/utils/config.py#L90) then yes, it's a comma-separated variable. If set in the [server config file](https://github.com/alerta/alerta/blob/master/alerta/settings.py#L63) it's a python list."}}
{"actor":{"display_login":"satterly"}}