Questions tagged [cloudflare-pages]
The cloudflare-pages tag has no usage guidance.
cloudflare-pages
110
questions
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 ...
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 ...
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....
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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!
...
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 ...