Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

[🐛 Bug]: Inconsistent(unexpect) behavio...

hey crew, something's funky with variables & secrets and i can't tell if it's a pages runtime issue or a next-on-pages issue. could someone take a look at https://github.com/cloudflare/next-on-pages/issues/881

I'm tried search, but I can't seem to

I'm tried search, but I can't seem to find the correct way (if there is one, not using 301 or something) to map a custom domain I have on pages to a worker. My domain text.com is mapped to my Pages app but I want requests to text.com/api/v1 to go to a worker

I have question regarding Cloudflare

I have question regarding Cloudflare Snippets. Docs says that 2 subrequest are allowed but: ``` async function getNTPTime() { const ntpApiUrl = 'http://worldtimeapi.org/api/timezone/Etc/UTC';...

Can't find output directory from root

OK I've found my way a far bit further down the path - and am tantalizingly close. First - my custom build script for (dotnet) Fable is this ```bash #!/bin/bash ...
No description

waitUntil

i am using sveltekit and deploying to Cloudflare Pages. In a Pages Function, I am curious what happens if I don't await an async operation and return to the user. For instance, I have an endpoint which deletes images from Cloudflare Images, but I'd rather not make the user wait for that to happen, so I simply don't await the Promise.all that calls the Cloudflare API. It seems to be working great, but is this problematic?

What wrangler version are you on?

What wrangler version are you on?

Can I access KV from snippets ?

Can I access KV from snippets ?

hey, actually I think it is a typo in

hey, actually I think it is a typo in documentation. Wrangler does not accept env.staging.vars and throws an error: The supported named-environments for Pages are "preview" and "production".

hey all, i'm trying to get the `www`

hey all, i'm trying to get the www subdomain to work on my custom domain. DNS records shown. using the CNAME as shown doesn't work, neither does replacing it with an A record set to 192.0.2.1. what is currently working for me now are bulk redirect rules, but i would rather have this resolved with DNS records if possible. does anyone know what i am doing wrong? thank you 🙂...
No description

Hi everyone,

Hi everyone, I want to check the logs for my reactjs app deployed in Cloudflare Pages. I would like to use wrangler cli, but every time I run the command...

Hi, I'm trying to do a deploy on

Hi, I'm trying to do a deploy on Cloudflare Pages. But i am facing error 8000000. This problem is relevant for only one Pages. The same api tokens are used. Where can I find the cause of the problem?

I'm trying to delete a Pages project and

I'm trying to delete a Pages project and keep getting "(Code: 8000000)" Anyone else resolved this?

I keep getting this error when trying to

I keep getting this error when trying to delete unused Pages Projects
An unknown error occured. Contact your account team or Cloudflare support: https://cfl.re/3WgEyrH. (Code: 8000000)...

Hey, I've deployed a Sveltekit project

Hey, I've deployed a Sveltekit project on Vercel and I'm trying to switch to Cloudflare pages. I've recode some of my functions to run on V8 (like one with Crypto API), and pretty everything is working on pages. But my dev environnement is not working anymore, because of web API. I'm using vite. Is there any way to switch Vite "runtime" to worker ? Or do I have to separate frontend and backend? I've seen that some people do vite build --watch and then wrangler pages dev --live-reload but it'...

workers-sdk/packages/wrangler/src/pages/...

https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/src/pages/upload.tsx I see wrangler uses an undocumented endpoint probably wouldn't hurt for me to use it as well, unlikely they would randomly break the endpoint since that would be bad for projects who don't update often probably should keep an eye on the file at least in case of changes

I cannot deploy remix cloudflare when

I cannot deploy remix cloudflare when adding @react-email/components. Using Remix Cloudflare Pages with Vite. https://developers.cloudflare.com/pages/framework-guides/deploy-a-remix-site/. I keep getting error ``` 🌎 Deploying... ✘ [ERROR] Deployment failed!...

did you figure this out? I have tried

did you figure this out? I have tried disabling smart placement but still get The RPC receiver does not implement the method "test" whereas .fetch() works perfectly fine
Next