Commit 13873e11 authored by duanjinfei's avatar duanjinfei

fix cache app background exec

parent 9a01df2c
...@@ -145,9 +145,9 @@ Deno.serve(async (req) => { ...@@ -145,9 +145,9 @@ Deno.serve(async (req) => {
const directory = `app-category/${timestamp}`; const directory = `app-category/${timestamp}`;
const bucketName = 'cache'; // 替换为存储桶名称 const bucketName = 'cache'; // 替换为存储桶名称
await cacheAllApp(supabase, allApps, directory, bucketName) EdgeRuntime.waitUntil(cacheAllApp(supabase, allApps, directory, bucketName));
await cacheCategoryApp(supabase, allApps, directory, bucketName) EdgeRuntime.waitUntil(cacheCategoryApp(supabase, allApps, directory, bucketName));
return new Response( return new Response(
JSON.stringify({ JSON.stringify({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment