Skip to content

Commit

Permalink
'update'
Browse files Browse the repository at this point in the history
  • Loading branch information
youfeed committed Dec 6, 2023
1 parent 334daeb commit 8199895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/drive/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export async function onRequest(context) {
const functionPath = context.functionPath;
const params = context.params
const datas = context.data
return new Response(JSON.stringify(datas, null, 2),{headers:{'content-type':'application/json;charset=UTF-8'}});
return new Response(JSON.stringify([datas,params,functionPath], null, 2),{headers:{'content-type':'application/json;charset=UTF-8'}});
// {request,env}
const secret = env.secret;
const signature = request.headers.get("Signature");
Expand Down

0 comments on commit 8199895

Please sign in to comment.