添加三个EdgeOne函数示例: 1. helloworld-cloud - 基础云函数示例 2. helloworld-edge - 返回JSON的Edge函数示例 3. random-acg - 带错误处理的图片代理函数 更新.gitignore以排除EdgeOne相关文件和目录
4 lines
95 B
JavaScript
4 lines
95 B
JavaScript
export async function onRequest(context) {
|
|
return new Response("Hello, world!")
|
|
}
|
|
|