aim_server_cors

CORS middleware for the Aim framework.

Documentation | pub.dev

Overview

aim_server_cors provides Cross-Origin Resource Sharing (CORS) middleware for the Aim framework. It supports flexible origin control with wildcards, specific origins, multiple origins, or custom validation functions. Includes full credentials support, method restrictions, header control, and automatic preflight handling.

Installation

dependencies:
  aim_server: ^0.0.6
  aim_server_cors: ^0.0.1

Documentation

For detailed usage, examples, and API reference, see the documentation.

Libraries

aim_server_cors