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

Importing wrangler Error

https://website-cvf.pages.dev/ 2c9e1f7 6d2375e757659d4dbcefde50d88367ae ...
No description

Not showing main HTML from git.

How does this not work (on cloudflare, render, etc.). It's a simple html file. why isnt it loading as the main page?
No description

Depending on my network, I'm incorrectly served different responses from pages

pages.dev: garden-frontend.pages.dev custom domain: allatradgardar.se account ID: a9b7ddc7f911b443856daf4d12413e08 I have started developing a remix app that I'm deploying to CF Pages. I have attached a custom domain to my pages app....

set cookie and redirect: Can't modify immutable headers.

I'm trying to set a session cookie and redirect with a 302 but appending the headers throws this exception: Can't modify immutable headers. TypeError: Can't modify immutable headers. ...

Does git LFS work on pages?

When it auto builds from the git repo, would it download a 20MB LFS file?

Cloudflare pages build/bundling issue

My app works as intended in development. However. When i build it for cloudflare pages using nitro presets and I run it with wrangler pages dev dist/ I have 2 endpoints that are problematic: /api/user/me and /api/user/repositories/list Both gets data from github api, (i tried with octokit.js and $fetch). ...

which type of certificate product is used for Cloudflare Pages

Hello, I have a question regarding the SSL/TLS certificates used by Cloudflare Pages. With the upcoming changes to Let's Encrypt's certificate chain, I am trying to understand which type of certificate product is used for Cloudflare Pages. Can you confirm whether it uses Universal SSL, Advanced Certificate, SSL for SaaS, or Custom Certificates? I'm particularly interested in knowing this because of the following article, which suggests that no action is needed if Universal SSL is used. https://blog.cloudflare.com/shortening-lets-encrypt-change-of-trust-no-impact-to-cloudflare-customers ...

Attachments with Mailchannels

Hello everyone, Is it possible to send emails with attachments using the mailchannels plugin? Or has this feature not been implemented?

Deployment fails without any information (Nuxt 3)

Account ID: 1cd594a2551974128ba6e91b0509eef4 Deployment ID (I think?): 1b136818-bb86-4ada-ad89-0e872d8c08e6 Deployment pages dev: https://1b136818.digistudies-marketing.pages.dev I deploy our Nuxt 3 application using wrangler CLI, like so: NITRO_PRESET=cloudflare-pages npm run build && npx wrangler pages deploy dist/...
No description

Can't deploy a nextjs pages site in subdirectory

I want to make a repo with many subpackages as templates. so trying to make sure this next site works. Can't get it to work ```ts 2024-04-23T02:30:14.50954Z Cloning repository......
No description

www CNAME doesn't work. Redirection from www to the base url works though

I have a www CNAME record in my DNS records, however www.mydomain.com doesn't work. It works when I have the URL redirection in place, but I'm curious on how to get www.mydomain.com by itself to work without redirection:
No description

Error: Failed to publish your Function. Got error: Uncaught ReferenceError: _page1 is not defined

I am building my website with Astro. I have wordpress setup as a headless cms within the site. when I run the build in my localhost, it works just fine, but in cloudflare, this error shows up. any ideas? this is my astro config ``` import cloudflare from '@astrojs/cloudflare'...

Increase projects per repo limit

Hey there, I've been blocked by Cloudflare limits. I want to create multiple Pages projects for one of my repositories, I have one project for each of my clients (>5) but I got blocked with this error:
│ Error: error creating cloudflare pages project "my-awesome-project": Your account has reached the maximum number of projects allowed for this repo (5). Contact Cloudflare support to increase your project per repo limit: https://cfl.re/3WgEyrH (8000091)
│ Error: error creating cloudflare pages project "my-awesome-project": Your account has reached the maximum number of projects allowed for this repo (5). Contact Cloudflare support to increase your project per repo limit: https://cfl.re/3WgEyrH (8000091)
Is there a way to increase the limit without having to contact the support? Or, can you raise the limit to 50 projects?...

Cloudflare Pages - React App shows blank page.

Hey, since today after i changed a little function in my react app, suddenly my website only shows a blank page without any content on it. I did not change the build functionality or anything, it just stopped working, how and why?...

My Cloudflare Pages serve my old content

Hello, I've rebuilt my site to fix broken images. However, the images are still broken after building and clean caches. - This is the image path: https://aicurious.io/posts-data/2023-09-19-high-performant-django/optimized-images/cover-opt-1920.WEBP Do you have any idea about that, and what should I do? Thank you very much!...

How to get git information when building pages

https://fast-namerena.pages.dev/ 5ca37b74-97ce-4b3c-adca-04c57ef70b9d 0b076add9635ae63f4a9cff271b45189 I try to use some python code with shell to get information like git tag, but it faild with returning nothing...
No description

I must be missing a bit on CF Pages "functions" folder, it never works for me

pages.dev: https://a37dd34e.lkg-pages-hono.pages.dev deployment id: a37dd34e-3951-4c09-b03a-0ba7b7eca80c account id: 97b74a45f478725ddc37f3f1ddc20277 I have a fairly basic CFP project. It's Typescript, Hono, Drizzle, Tailwindcss with Vite and uses CF KV for auth/users/sessions. It's in really good shape and is fully functional but for one part I just can't seem to "wrangle" 😉...

Cloudflare Pages + Hetzner (React)

Hello, is there any tutorial on how I can achieve this?

wrangler published static files is not atomic?

By not atomic, I mean sometimes the index.html has already updated, but the lastest js file that the index.html referenced doesn't. In this case, cloudflare will fallback to return the index.html even we are requesting a .js file What worse, cloudflare will cache the fallback wrong content, because the path ends with .js (cacheable)....