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

Does Cloudflare Pages provide a CDN for files using custom domain?

Pretty much title. I want to upload a file to my domain and have a subdirectory of the file hosted on my domain.

Getting mime error: content type is [''] with flutter

My flutter app doesn't loads and throws mime error. Apparently cloudflare pages is not detecting my main.dart.js script and returning it as plain text/without the content type header. I tried: 1. Disabling cache 2. Disable proxying for the custom domain...

console.log not working

I am running npx wrangler pages dev and I have few console.log statements But it doesn't show console logs in either the terminal or browser console...

Wildcard Subdomains in Pages (trying to migrate from vercel)

We want to migrate from vercel to cloudflare pages, we've already tested our app and everything seems to be working well for us (we had to upgrade to pages paid plan because of the size of our functions) but the only blocking thing for us is wildcard subdomains which seem to be unsupported at the moment (https://developers.cloudflare.com/pages/platform/known-issues/#custom-domains). Is there an ETA for this? Any workaround? This is literally the only thing stopping us from fully migrating everyt...

How can I give CF Pages access to install private git repo url dependency in package.json?

Title, let me know if more details are required, it simply fails to download the private git repo, I assume due to access issues in the build environment

Class A and B operations keeps increasing for no reason

I have just created a Cloudflare R2 account to store images, but I'm encountering a problem: I can't figure out why Class A and B operations keep increasing even when I'm not actively doing anything. I have tested this with both a private and a public bucket, and I get the same result—the operations continue to increase at a rate of about one operation per minute. I know for a fact that nobody else has access to my account, and it can't be me—I have turned off my PC and checked the data on my ph...
No description

porkbun domain + cloudflare pages

Hi, I have a domain on porkbun (only domain) and I use cloudflare pages. Is there a way that it can work together? I tried to follow the instructions: https://developers.cloudflare.com/pages/configuration/custom-domains/ - But I guess that results automatically in a error 1000 (because cloudflare dns points to cloudflare servers)? 🙂

I created a subdomain in cloudflare off of my main domain and launched but when I open the website,

this error pops up. The record is cname and proxy is off. I did this for my clients subaccount in gohighlevel to create a website for them.
No description

Create cloudflare@latest, stuck during deploying step

Hi, I am trying to follow along Cloudflare's pages documentation spefcifc to deplying a Next.js
https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/
https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/
I ran the initial command and followed through the configuration steps, used default settings. Once reaching the deployment stage, Wrangler creates a page on my account but assets haven't been placed and my terminal is stuck on deployment. I'm not exactly sure where to go from here. Thank you in advanced!...

Custom domain for "preview" branches not working as expected

Hi, We are attempting to create a "staging" domain for one of our projects. We want any code deployed under the "staging" (preview) branch to be accessed via this domain (https://cal-staging.nylas.com). We followed the instructions found here:...

Website not updating properly

i have a problem where my website on my main domain look like this
No description

Publishing a Hugo site through pages is not loading css properly

Good afternoon, I am trying to deploy a hugo site to https://doks.diogomachado.pt/ using npm run build as the exec command. I have tried to run it locally and through a regular apache server and it all works fine....
No description

How to serve javascript files (as third party lib)

I am currently implementing a widget to be embedded as a third party library on websites. I am developing it with Vanilla Svelte and rollup.js. This is my rollup config. ```js...

Connection timeout 522

On my Pages route, it just simply proxy response from my VPS but I still got 522 timeout. I tried Postman and the vps return correct result. What should I do? 🤔...
No description

How do I invite another dev to my pages dashboard?

I want to invite another developer to work with me on my Pages app. I want them to have access to the Pages dashboard for this specific application. I invited them but the permissions are unclear on what I should give them for Pages access.
No description

R2 binding questions

Hello, first off just want to say I'm very new to CF and web development in genrl. What I'm doing: I'm working on a project and trying to understand the R2 function binding on CF pages, so I made a small hello world page project to try and load a image from R2 on page load. So I can have a bucket of a lot of images and just have the key for the image on the html and load it in when the page is loaded on a users browser. side note* is this a good setup for speed? can images get cached this way?...
No description

Is there Hyperdrive Support?

I'd like to use hyperdrive to manage the connections to my postgresql instance. I'm using sveltekit with adapter-cloudflare. Can I use Hyperdrive with cloudflare pages?...

justhost email issues

Hi Cloudfare team I have a Justhost account and created an email address for my domain www.redmarketingfirm.com Email address is [email protected]...
No description

My Pages is out of date

I have an old Cloudflare Pages. Seems like it's still running with NodeJS 12. This error shows up in the build logs. ``` wanted: {"node":">=16"} (current: {"node":"12.18.0","npm":"6.14.4"})...