title: Dynamically set baseUrl in cypress.json
body: <p>I have a laravel app and have brought in Cypress testing. In my <code>cypress.json</code> file I have the <code>baseUrl</code> value set to a string of <code>localhost:8000</code>. The issue is the cypress test baseUrl will change based on which environment I am on (Local, Production etc...) so is there a way to set this <code>baseUrl</code> dynamically in the <code>cypress.json</code> file? I ask about the Laravel <code>.env</code> because the baseUrl or <code>APP_URL</code> is already set there.</p>
  <p>Thanks.</p>
  <p>Current cypress.json</p>
  <pre><code>  &quot;baseUrl&quot;: &quot;http://127.0.0.1:8000&quot;, //How to make this dynamic based on app environment?
    &quot;chromeWebSecurity&quot;: false
  </code></pre>