Skip to content

Commit

Permalink
doc: fix error about ctx.env (#1574)
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwhite authored Oct 11, 2023
1 parent 9c1550e commit 2cfc2f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/guide/function/use-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export function main(ctx: FunctionContext) {
| `ctx.response` | HTTP 响应,和`express``Response`实例保持一致 |
| `ctx.socket` | [WebSocket](https://developer.mozilla.org/zh-CN/docs/Web/API/WebSocket) 实例,[Laf WebSocket 使用文档](/guide/function/websocket.html) |
| `ctx.files` | 上传的文件 ([File](https://developer.mozilla.org/zh-CN/docs/Web/API/File) 对象数组) |
| `ctx.env` | 本应用自定义的环境变量 ([env](env.md)) |

## 云函数返回值

Expand Down

0 comments on commit 2cfc2f6

Please sign in to comment.