UNPKG

apigeelint

Version:

Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.

22 lines (11 loc) 536 B
<CORS name='CORS-A'> <!-- different only in whitespace, indent, and comments, from CORS-1 --> <AllowOrigins>{request.header.origin:*}</AllowOrigins> <AllowMethods>GET, PUT, POST, DELETE, OPTIONS</AllowMethods> <AllowHeaders>origin, x-requested-with</AllowHeaders> <ExposeHeaders>*</ExposeHeaders> <MaxAge>1800</MaxAge> <AllowCredentials>true</AllowCredentials> <GeneratePreflightResponse>true</GeneratePreflightResponse> <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables> </CORS>