CorsConfig.development constructor

CorsConfig.development()

Development CORS configuration (permissive).

Implementation

factory CorsConfig.development() {
  return const CorsConfig(
    allowedOrigins: ['*'],
    allowedMethods: ['*'],
    allowedHeaders: ['*'],
    credentials: false,
  );
}