feat: 添加EdgeOne函数示例和更新.gitignore
添加三个EdgeOne函数示例: 1. helloworld-cloud - 基础云函数示例 2. helloworld-edge - 返回JSON的Edge函数示例 3. random-acg - 带错误处理的图片代理函数 更新.gitignore以排除EdgeOne相关文件和目录
This commit is contained in:
4
node-functions/helloworld-cloud/index.js
Normal file
4
node-functions/helloworld-cloud/index.js
Normal file
@@ -0,0 +1,4 @@
|
||||
export async function onRequest(context) {
|
||||
return new Response("Hello, world!")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user