Ask Your Question
3

Can you whitelist multiple domains using command prompt for CORS Anywhere?

asked 2023-06-28 13:55:57 +0000

bukephalos gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-06-28 14:11:02 +0000

ladyg gravatar image

Yes, you can whitelist multiple domains using command prompt for CORS Anywhere. Here's how:

  1. Open the command prompt.
  2. Navigate to the directory where the CORS Anywhere server is installed.
  3. Enter the following command to open the whitelist file:

    notepad whitelist.txt

  4. In the whitelist file, add the domains you want to whitelist using the following format:

    https://example1.com

    https://example2.com

    https://example3.com

  5. Save and close the whitelist file.

  6. Restart the CORS Anywhere server for the changes to take effect.

    node server.js

Now, the CORS Anywhere server will allow requests from the domains you have whitelisted.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-28 13:55:57 +0000

Seen: 10 times

Last updated: Jun 28 '23