list(), I can see ProxyStub { name: 'HeadResult', poisoned: false }. But I cannot see the image on the dashboard. am i missing any steps?list the bucket, i can see objects being returned to the consolewrangler devenv insteadenv.BUCKET.get()?


export const loader: LoaderFunction = async ({ context }) => {
try {
const { env } = context.cloudflare;
const { objects } = await env.BUCKET.list();
return { objects };
} catch (e) {
console.log(e);
return new Response("Error", { status: 500 });
}
};ID NAME DESCRIPTION ENABLED
ba27c14e2561 rexray/s3fs:latest REX-Ray FUSE Driver for Amazon Simple Storag… false
57bf3ba256ba s3fs1:latest S3FS plugin for Docker v2.0.9 false
[root@localhost ~]# docker plugin enable ba27c14e2561
Error response from daemon: dial unix /run/docker/plugins/ba27c14e2561d51267177018aaf28d0e0079fea71abbe2a418a34298f3473996/rexray.sock: connect: no such file or directoryexport const action: ActionFunction = async ({ request, context }) => {
const formData = await request.formData();
const image = formData.get('image') as File;
if (!image) throw new Response("No image uploaded", { status: 400 });
const buffer = await image.arrayBuffer();
const { put } = context.cloudflare.env.BUCKET;
await put(image.name, buffer);
return new Response("OK", { status: 200 });
}list()ProxyStub { name: 'HeadResult', poisoned: false }const { put } = context.cloudflare.env.BUCKET;await context.cloudflare.env.BUCKET.put(image.name, buffer);