I have a laravel app and have brought in Cypress testing. In my cypress.json file I have the baseUrl value set to a string of localhost:8000. 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 baseUrl dynamically in the cypress.json file? I ask about the Laravel .env because the baseUrl or APP_URL is already set there.
Thanks.
Current cypress.json
"baseUrl": "http://127.0.0.1:8000", //How to make this dynamic based on app environment?
"chromeWebSecurity": false