Skip to main content

Questions tagged [cloudflare-pages]

The tag has no usage guidance.

cloudflare-pages
0 votes
0 answers
11 views

Integrate svelte-image with Cloudflare pages + R2

I'm currently working on a SvelteKit project that is hosted on Cloudflare Pages. I want to optimize and serve images from Cloudflare R2 instead of directly from the /static directory. My goal is to ...
fevar's user avatar
  • 87
0 votes
0 answers
22 views

Deployment crashes when building with new image

I have an react, typescript and webpack application deployed using cloudflare pages. On the last modification I tried adding a new image on my page but the deployment fails to find that particular ...
William Blanchet Lafrenière's user avatar
2 votes
1 answer
37 views

@sveltejs/adapter-cloudflare reveals server-side code in a sourcemap. How to disable?

I’m developing a site with SvelteKit, Cloudflare Pages Functions, and @sveltejs/adapter-cloudflare. I noticed the sourcemap for my server-side Pages Functions is uploaded and is accessible at mydomain....
matthewr's user avatar
2 votes
1 answer
87 views
+250

Response Set-Cookie not working, but only on Cloudflare Pages/Workers

I am working on a simple app with Auth.js and Next.js. In specific, I am using it with WebAuthn authentication. So, I have a pretty similar auth.ts setup: export const { handlers, signIn, signOut, ...
David Gomes's user avatar
  • 5,725
0 votes
0 answers
72 views

Environment Variables not populated

I'm trying to get environment variables working in a Sveltekit web application hosted in Cloudflare pages. This issue is specific to Cloudflare Pages. When running locally the environment variables ...
Magick's user avatar
  • 4,883
1 vote
0 answers
26 views

How to keep the source HTTP headers when redirecting with a CNAME DNS record

We have a site hosted in Cloudflare pages, it sets some headers using a CF worker, all good. But one of our older domains is registered and managed by goddady and we cannot move it for now, it has a ...
MorenoMdz's user avatar
  • 336
0 votes
0 answers
121 views

Cloudflare / X (Twitter) integration debugging

There is an integration with X (3-legged OAuth flow) which works locally with wrangler. Once deployed to Cloudflare (Pages function), it fails on the last step - the call to /oauth/access_token fails ...
Zygimantas's user avatar
  • 8,627
0 votes
1 answer
43 views

Cloudflare Pages + Docker: EACCES: permission denied, mkdir ‘/app’

Background I have built a simple Dockerized Vue/Vite app and connected the GitHub repo to Cloudflare Pages and, up until a few days ago, have had no trouble deploying the app. Problem I have made no ...
anti-destin's user avatar
0 votes
1 answer
74 views

Missing Cloudflare DB binding (D1)

I am having trouble with NuxtHub with D1 database. in wrangler.toml, I've already have d1 database binding specified (i've removed the value from the code below on purpose) I can see the D1 database ...
w-dev's user avatar
  • 23
1 vote
2 answers
133 views

Cloudflare managed challenge for all subdomains

(related question: Cloudflare Managed Challenge on API for SPA causing challenge not to be seen) We have a frontend application running on Cloudflare Pages (ourapplication.com) and then backend ...
Vojtěch's user avatar
  • 12.1k
0 votes
1 answer
55 views

How to Connect Cloudflare Pages CNAME to My Application Endpoint and Customize Auto-Generated CNAME?

I'm using Cloudflare Pages to host my site, and I have a few questions about connecting my custom domain and managing the provided CNAME: Connecting the CNAME: How can I connect the CNAME provided by ...
SUDHARSHAN D's user avatar
0 votes
0 answers
24 views

File creation in Cloudflare Pages

I am trying to make a basic cloudflare page which has a form to submit new directories onto the site. I want to create a simple node server (or any other language that would work for this) that would ...
Ariel Blau's user avatar
3 votes
1 answer
103 views

What is the optimal way to resolve the asset cache issue after flutter deprecated loadEntrypoint function

A part of my index.html code used to be like below. I use to run a script to create buildVersion directory, move assets there and template the {{buildVersion}} after the flutter build web job ...
Suman Maharjan's user avatar
0 votes
0 answers
26 views

nuxt-auth failed to build on Cloudflare

Nuxt3 with Sidebase nuxt-auth deployment on Cloudflare Pages problem. it runs as expected on local dev environment, but failed to build on Cloudflare deployment. Any help is appreciated. Thank you! ...
w-dev's user avatar
  • 23
0 votes
1 answer
139 views

Environment variable access in Remix run framwork with cloudflare pages on server files

I am struggling to get the env. variable set up in my remix app. Here is the code from session.server.ts file as import { createCookieSessionStorage } from "@remix-run/cloudflare"; export ...
Sushant Borsania's user avatar

15 30 50 per page
1
2 3 4 5
8