ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
CD
Cloudflare Developers
โข
10mo ago
Manoj
r2 custom domain support for aws-s3 sdk
Need help with generating presigned urls for uploads and it needs to use a custom domain
.
Tried doing the following
, but it doesn
't help
.
ex
-
export const s3Client
= new S3Client
(
{
region
:
"auto
"
,
endpoint
:
"
https://files.fileloom.com
"
,
forcePathStyle
: true
,
credentials
:
{
accessKeyId
:
"xxx
"
,
secretAccessKey
:
"xxx
"
,
}
,
requestHandler
: new NodeHttpHandler
(
{
httpsAgent
: new https
.Agent
(
{
keepAlive
: true
,
maxSockets
: 1000
,
}
)
,
/
/ time limit
(ms
) for receiving response
.
requestTimeout
: 30000
,
/
/ time limit
(ms
) for establishing connection
.
connectionTimeout
: 10000
,
}
)
,
}
)
;
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
R2 S3 API Custom Domain
CD
Cloudflare Developers / general-help
17mo ago
API support for creating R2 S3 credentials
CD
Cloudflare Developers / general-help
2y ago
R2 + custom domain or Pages + custom domain for assets?
CD
Cloudflare Developers / general-help
3y ago
R2 storage custom Domain
CD
Cloudflare Developers / general-help
2mo ago