AGill
Explore posts from serversCDCloudflare Developers
•Created by AGill on 6/23/2024 in #r2
Hey guys I'm `PUT`ing into my R2 bucket
ok figured it out
I was importing types from
@cloudflare/workers-types
path; I have to import from @cloudflare/workers-types/experimental
5 replies
CDCloudflare Developers
•Created by AGill on 6/23/2024 in #r2
Hey guys I'm `PUT`ing into my R2 bucket
I'm using
@cloudflare/workers-types
version 4.20240512.0
5 replies
CDCloudflare Developers
•Created by AGill on 6/23/2024 in #r2
Hey guys I'm `PUT`ing into my R2 bucket
![No description](https://answer-overflow-discord-attachments.s3.us-east-1.amazonaws.com/1254496045023494316/Screenshot_2024-06-23_at_1.59.18_PM.png)
5 replies
CDCloudflare Developers
•Created by AGill on 6/23/2024 in #r2
Hey guys I'm `PUT`ing into my R2 bucket
actually nvm the default is
['httpMetadata', 'customMetadata']
and I am getting back the fields.
The problem is that customMetadata
is returning null
and so my worker function defaults to empty object5 replies
CDCloudflare Developers
•Created by AGill on 6/23/2024 in #r2
Hey guys I'm `PUT`ing into my R2 bucket
hm ok I see in docs that there is
include
option for R2ListOptions
: https://developers.cloudflare.com/r2/api/workers/workers-api-reference/#r2listoptions5 replies
CDCloudflare Developers
•Created by BloxMaster3 on 5/24/2024 in #general-help
change the name of a bought domain
selling the domain is an option
16 replies
CDCloudflare Developers
•Created by Fabbbbbbyy on 5/23/2024 in #pages-help
Migrating from Amplify to Cloudflare Pages
I have
app.site.com
and staging.site.com
11 replies
CDCloudflare Developers
•Created by Fabbbbbbyy on 5/23/2024 in #pages-help
Migrating from Amplify to Cloudflare Pages
I'm making do with that
11 replies
CDCloudflare Developers
•Created by Fabbbbbbyy on 5/23/2024 in #pages-help
Migrating from Amplify to Cloudflare Pages
yes that's correct. cloudflare only has production and preview environments
11 replies
CDCloudflare Developers
•Created by Fabbbbbbyy on 5/23/2024 in #pages-help
Migrating from Amplify to Cloudflare Pages
based on your original question doesn't look like you need to register a custom domain though.
If your domain is
site.com
you can map different branches to different subdomains. so www
is a sub domain of www.site.com
and so is staging
is the subdomain for staging.site.com
but it's all the same domain11 replies
CDCloudflare Developers
•Created by Fabbbbbbyy on 5/23/2024 in #pages-help
Migrating from Amplify to Cloudflare Pages
yeah basically. and your domain must be managed by CF to access this feature. I moved my domain over from namecheap to CF for this feature alone.
11 replies
Use prisma globally in api routes
exports in
server/utils/
will be auto-imported. otherwise use the imports
field in nuxt.config.ts
to specify your own paths https://nuxt.com/docs/api/nuxt-config#imports4 replies