The baseUrl configuration option is now invalid when set from the root of the config object in Cypress version 10.0.0.

It is now configured separately as a testing type property: e2e.baseUrl

{
  e2e: {
    baseUrl: '...',
  }
}

https://on.cypress.io/migration-guide