Cypress.Server.default()

To change the default configuration for cy.server, use Cypress.Server.defaults().

Cypress.Server.defaults({
  delay: 0,
  force404: true,
  whitelist: function(xhr){
    // handle custom logic for whitelisting
  }
})