fix origins error

As listed, was returning-
{
  "error": "'origins' field must be a JSON list of domains"
}

Fixed brackets, now returning-
{
  "ok": true
}
Merge pull request #1 from drewrothstein/master

fix origins error