http/http_cors_handler library

Functions

corsAllowOrigin(dynamic origin, String? requestOrigin) → dynamic
Get the value for the Access-Control-Allow-Origin header.
httpCorsHandler(bool? enabled, HttpRequest req) → void