Register
CDCloudflare Developers
•Created by Register on 6/1/2024 in #pages-help
Whats wrong with my wrangler.toml file?
For some reason my D1 database isnt showing up. It does exist but the page function doesnt seem to know about it despite my wrangler.toml file defining it.
wrangler.toml
Function code
Exception
Log
7 replies
CDCloudflare Developers
•Created by Register on 2/19/2024 in #pages-help
Disable https for specific api routes?
I have an API which a very old game is trying to send data to. This old application (circa 2004) cannot handle HTTPS. It must use HTTP.
Is there a way to configure my
wrangler.toml
to specify specific routes for my Pages project to use HTTP instead of HTTPS?90 replies
CDCloudflare Developers
•Created by Register on 2/5/2024 in #pages-help
How do I invite another dev to my pages dashboard?
![No description](https://cdn.answeroverflow.com/1203918058608001084/image.png)
6 replies
CDCloudflare Developers
•Created by Register on 1/28/2024 in #pages-help
Where do I store SQL migrations in my Pages app's repo?
I am interested to start a new project using Pages but I want to use D1 in this Pages app.
I've gone ahead and setup my basic Pages repo where I have a
/site
directory where I keep my frontend and is what is built when I run npm run build
to the /dist
directory.
And I have my /functions
directory which is of course where I am storing my backend API.
I am wondering if I should use a /sql
directory to house the SQL and migrations?
Or should this be kept in a different repo?
Main question - how should I be structuring my Pages repo and use/include D1 migrations?1 replies
CDCloudflare Developers
•Created by Register on 1/22/2024 in #workers-help
D1Database JSDoc Reference?
![No description](https://cdn.answeroverflow.com/1198869118330359889/image.png)
4 replies