| … | … | @@ -83,6 +83,9 @@ const directory = async (r) => { |
| 83 | 83 | } |
| 84 | 84 | if (q && q[0]) { |
| 85 | 85 | return new Response(JSON.stringify(q), {headers: header}) |
| 86 | } else if (await apds.get(key)) { | |
| 87 | const blob = await apds.get(key) | |
| 88 | return new Response(blob, {headers: header}) | |
| 86 | 89 | } else { |
| 87 | 90 | return serveDir(r, { |
| 88 | 91 | //quiet: 'True', |