CORS ANYWHERE WHITELIST multiple domains using command prompt

Viewed 7

I ma trying to whitelist heroku cors with multiple domains.

  1. How to write command using command prompt? Do I sepearate when using comma or do I repeat CORSANYWHERE_WHITELIST command for each domain?

  2. How to white list localhost correctly?

    heroku config:set -a MY_APP_NAME CORSANYWHERE_WHITELIST=https://my-domain.net, https://localhost

0 Answers
Related