I'm working in a local project with vanilla js. I'm trying to get a json from a local file, but I get an error about the CORS Policy. I already tried with Ajax, Fetch API, and others, but I get the same error. So... It's posible to avoid this Policy with another option?
This is my code:
const loadFile = () =>{
    fetch("file.json")
    .then( response => response.json())
    .then( content => {
        console.log(content);
    })
}
 
     
    