readme
This commit is contained in:
parent
82663162b7
commit
ab7efb65e6
@ -21,7 +21,7 @@ Serverless 云函数支持示例
|
||||
```
|
||||
1. 配置 **函数入口** 为 `aliyun-fc.handler`
|
||||
1. 配置 **初始化函数** 为 `aliyun-fc.initializer`
|
||||
1. 测试运行
|
||||
1. 修改前端项目下 `client.ts` 中的后端地址,测试运行
|
||||
|
||||
### 腾讯云
|
||||
|
||||
@ -32,4 +32,4 @@ Serverless 云函数支持示例
|
||||
npm i
|
||||
```
|
||||
1. 配置 **执行函数** 为 `txcloud-scf.handler`
|
||||
1. 测试运行
|
||||
1. 修改前端项目下 `client.ts` 中的后端地址,测试运行
|
@ -3,7 +3,7 @@ import { serviceProto } from "./shared/protocols/serviceProto";
|
||||
|
||||
// Create Client
|
||||
export const client = new HttpClient(serviceProto, {
|
||||
server: "https://service-23pfz6cm-1253954497.gz.apigw.tencentcs.com/release/helloworld-1634897828/",
|
||||
server: "http://127.0.0.1:3000",
|
||||
// Remove this to use binary mode (remove from the server too)
|
||||
json: true,
|
||||
logger: console,
|
||||
|
Loading…
Reference in New Issue
Block a user