title: How to change the dynamic baseUrl Laravel + Vue.js?
body: <p>How do I set the baseUrl so if I switch from server to server on the frontend (Vue.js), it changes dynamically to baseUrl?</p>
  
  <p>I show my code axios-auth.js code:</p>
  
  <pre><code> import axios from 'axios'
  
   const instance = axios.create({
      baseURL: 'http://mvp.test/api/public/api/'
     // baseURL: 'http://127.0.0.1:8000/api/' for testing localhost
   });
  </code></pre>
  
  <p>and my .env file which have standard code for laravel.</p>