Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I’m getting started with Spaces. I’m successfully uploading images from a node backend with s3client and a PutObjectCommand. PutObjectCommand requires a Bucket argument, and it works when I put projectName.bucketName. To my surprise (and distaste), this argument is prepended to the Key, and so finds itself in the URL of the uploaded image. Why is this, and can I turn it off?
This is my upload command…
const command = new PutObjectCommand({
Bucket: "simplyfirst.simplyfirst",
Key,
Body: arr,
ACL: "public-read",
ContentType: contentType
});
try {
const response = await s3Client.send(command);
console.log(response);
return NextResponse.json({newFilename:filename})
} catch (err) {
console.error(err);
return new NextResponse("Error", { status: 500 })
}
…which gives me this in Spaces…

SarkariResultht
KFSys
Arne van Hoorn
alexdo
4287c71658bd4ea39bef277d491b1c
4287c71658bd4ea39bef277d491b1c
Demanix
Demanix
devjk1
Jordan
LC Labs Sp. z o.o.
a0cd9be01b14447384f79073fc121f