title: Can't access local json file using axios
body: <p>I'm having an issue with loading json data locally. My code worked fine when I loaded data from <a href="https://randomuser.me/api" rel="nofollow noreferrer">https://randomuser.me/api</a>, but when I specify location of my json file locally it just returns plain HTML. Definitely doing something wrong, but can't figure it out. I use axios for ajax calls. How do I make the request correctly? My code:</p>
  
  <pre><code>export function fetchUsers () {
      return {
          type: 'FETCH_USER',
          payload: axios.get('./users.json').then( (response) =&gt; 
          console.log(response.data) )
      };
  }
  </code></pre>