全部产品
Search
文档中心

函数计算:CORSConfig

更新时间:Jan 29, 2026

名称

类型

描述

示例值

object

allowOrigins

array

["https://example.com", "https://app.example.com"]

string

allowMethods

array

["GET", "POST", "OPTIONS"]

string

allowHeaders

array

["Content-Type", "Authorization"]

string

exposeHeaders

array

["X-Custom-Header"]

string

allowCredentials

boolean

true

maxAge

integer

3600