Navigate back to the homepage

Solve CORS issue on localhost

December 26th, 2020 · 1 min read

Hello Friends,

Welcome To Infinitbility!

Many time we get cors issue when we are developing a website. like below

Access to fetch at ’’ from origin ‘http://localhost:300’ has been blocked by CORS policy: Request header field content‑type is not allowed by Access‑Control‑Allow‑Headers in preflight response.

I try many extensions, adding mode: cors, and added Access‑Control‑Allow‑Headers on the server but my issue not solved, then I try the “CORS” extension, and my cors issue resolve. below you will find the extension link and step to use on your machine.

below solution use only when you developing a website on your local machine. don’t use for production.

bypass the authentication

Download Extensions Link

After add, the CORS extension activates your extension.

bypass the authentication

Thanks for reading…

Follow me on Twitter

Join our email list and get notified about new content

No worries, I respect your privacy and I will never abuse your email.

Every week, on Tuesday, you will receive a list of free tutorials I made during the week (I write one every day) and news on other training products I create.

Looking For React Native Tutorial?

we are trying to create the best Tutorial for react native developers.

When you want a daily updates about React Native Tutorial or infinitbility update subscribe to our newsletter.

Read React Native Tutorial

Request New Tutorial or Article on mail [email protected]

Guide book

Guidebook: The Javascript Monorepo Photoshop Guide



More articles from Infinitbility

Authentication Bypass what is it and how to protect it

Applications require some credentials for example Username, Email, Password, etc. To get access to the system.

December 12th, 2020 · 2 min read

Implement react native firebase crashlytics on android

setup firebase crashlytics for your react native application.

December 12th, 2020 · 1 min read
© 2020–2022 Infinitbility
Link to $ to $ to $ to $ to $ to $mailto:[email protected]