# 校验规则 改进 ## `tencent-scf` 组件 - repo: https://github.com/serverless-components/tencent-scf 1. [ ] `runtime` 字段在 `type` 字段是 **web** 类型的时候,合法的只有 `node, python, php` 三个合法环境,需要在代码层面做改动 2. [ ] `asyncRunAble` 字段, 如果这个字段为 `true`, `cls` 字段必须配置 - [ ] `src` [字段](https://github.com/serverless-components/tencent-http/blob/master/docs/configure.md#src)-通用, 需要确定这种类型如何定义: 1. 可以是一个字符串 2. 可以是一个 **object** 类型, 此时 `src` 和 `object` 字段不能共存 ## `http` 组件 1. [ ] [certificateId](https://github.com/serverless-components/tencent-http/blob/master/docs/configure.md#customdomain) 字段,待绑定自定义域名的证书 ID,如果设置了 protocol 含有 https,则为必选 2. [ ] isDefaultMapping: 是否使用默认路径映射。为 false 时,表示自定义路径映射,此时 pathMappingSet 必填。 ## `webiste` 组件 1. [ ] `src.dist` 字段,钩子脚本执行构建后,输出的目录。如果配置 hook, 此参数必填
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up