I created a file called axios.js that sets an interceptor on axios so wherever I use it, it will have these headers. It looks like the following:
const axios