You would have to create a different Worker route to serve it. The S3 API/Custom Domains aren't supp
You would have to create a different Worker route to serve it. The S3 API/Custom Domains aren't supported in local mode
env.BUCKET.get()?



[{ "AllowedOrigins": [ "*" ], "AllowedMethods": [ "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 });
}
};env.BUCKET.get()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 directory[{ "AllowedOrigins": [ "*" ], "AllowedMethods": [ "GET" ] }]