1 回答
- 最新
- 投票最多
- 评论最多
1
Ensure you have properties for CorsConfiguration for this AWS Serverless Application Model AWS::Serverless::Api
- below is an example from the documentation.
Resources: ApiGatewayApi: Type: AWS::Serverless::Api Properties: StageName: Prod Cors: AllowMethods: "'POST, GET'" AllowHeaders: "'X-Forwarded-For'" AllowOrigin: "'www.example.com'" MaxAge: "'600'" AllowCredentials: true
已回答 2 个月前
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前