feat: 添加EdgeOne函数示例和更新.gitignore

添加三个EdgeOne函数示例:
1. helloworld-cloud - 基础云函数示例
2. helloworld-edge - 返回JSON的Edge函数示例
3. random-acg - 带错误处理的图片代理函数

更新.gitignore以排除EdgeOne相关文件和目录
This commit is contained in:
2026-01-19 23:21:15 +08:00
parent 61a4f4b3c4
commit a4e0fb6cd8
4 changed files with 1030 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
export async function onRequest(context) {
return new Response("Hello, world!")
}