devsapp / fc

阿里云函数计算(FC)组件
MIT License
139 stars 40 forks source link

domain 配置 qualifier 需要是 string,否则就会异常 #876

Closed wss-git closed 2 years ago

wss-git commented 2 years ago
test:
    component: devsapp/fc
    props:
      region: cn-shanghai
      customDomains:
        - domainName: frontend.serverless-cd-wss.xxxx.ap-southeast-1.fc.devsapp.net
          protocol: HTTP
          routeConfigs:
            - path: /*
              serviceName: serverless-cd-wss
              functionName: ui
              qualifier: 1 # need to '1'

image

anycodes commented 2 years ago

是否可以强制转一下str?

wss-git commented 2 years ago

后面是会这么做,先记录一下