Google Browser settings reverse proxy

Source: Internet
Author: User

This isn't a fix for production or when application have to was shown to the client, this is only helpful when UI and Backe nd development is on different servers and in production they is actually on same server. For example:while developing UI for any application if there are a need to test it locally pointing it to backend server, In that scenario the perfect fix. For production fix, CORS headers have to is added to the backend server to allow cross Origin access.

The easy-to-just add the extension in Google Chrome to allow access using CORS.

(Https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en-US )

Just enable this extension whenever you want allow access to no ' Access-control-allow-origin ' header request.

Or

In Windows, paste the command in Run window

Chrome.exe--user-data-dir= "C:/chrome Dev Session"--disable-web-security

This would open a new Chrome browser which allow access to no ' Access-control-allow-origin ' header request.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.