Skip to main content

Disable CORS policy in Chrome

· One min read
Preet Shah
Software Developer @ JPMC

To initiate a new Chrome session with CORS disabled on Windows for testing purposes, you can use either of the following commands:

Launch the Command Prompt (cmd) terminal and navigate to the directory where the chrome.exe is situated.

Typically, it can be found in either the Program Files or Program Files (x86) directories. Executing the following commands will initiate a new Chrome window with the security policy disabled:

C:\Users\shahpreetk> cd C:\Program Files\Google\Chrome\Application


C:\Program Files\Google\Chrome\Application> chrome.exe --user-data-dir="C:/temp/chrome" -—disable-web-security 

Child Table Data in Strapi API

· One min read
Preet Shah
Software Developer @ JPMC

Originally, when requesting a Strapi API endpoint, you can only get the information of the table you requested without the information of tables it is related to.

Adding Images in React.js

· One min read
Preet Shah
Software Developer @ JPMC

Images are integral to web development, impacting performance significantly. Efficient management can streamline your React app's functionality and user experience. Let's explore a streamlined approach.