fizzy_kombucha
fizzy_kombucha
CDCloudflare Developers
Created by Johnny Silverhand on 8/26/2023 in #workers-help
wrangler dev - fetch() trust self signed certificates
try disabling ssl verification in your function's code: process.env['NODE_TLS_REJECT_UNAUTHORIZED'] = 0;
4 replies
CDCloudflare Developers
Created by charelf on 8/26/2023 in #workers-help
using dashboard for local development
read that page as it shows you how to use wrangler. it's pretty much a thing you have to learn if you want to run stuff locally the cloudflare way
7 replies
CDCloudflare Developers
Created by charelf on 8/26/2023 in #workers-help
using dashboard for local development
7 replies
CDCloudflare Developers
Created by charelf on 8/26/2023 in #workers-help
using dashboard for local development
when you develop locally, you'll want to run your function with cloudflare's cli called 'wrangler' this tool will run your function locally and you can use postman or httpie to make reqeusts to your locally running function. once you're happy with testing you can deploy the function to cloudflare. the reason your function goes from typescript to 'generated' javascript is because you are transpiling typescript to javascript. this is a normal thing that happens. node can't natively run typescript so it needs to be transpiled to javascript during a build process
7 replies
CDCloudflare Developers
Created by itsricky on 8/27/2023 in #pages-help
How do I publish from Wordpress to GitHub without using/paying $$$ for the Simply Static plug-in?
something like that is just going to take the rendered output and save it, it might do some clean-up to make it a little easier but don't expect it to be perfect. you'll still have to do a lot. but at least it's better than nothing.
4 replies
CDCloudflare Developers
Created by testtubeted on 8/26/2023 in #general-help
Newbie entry point to deploy build-ready temp landing page - Vercel? Cloudfare? Other?
you can deploy a static website or SSR website to cloudflare pages. if you're using a popular web framework it will be trivially easy. you just push your code up to github, connect cloudflare page to that repo and cloudflare will build and deploy it. if you require SSR it will just need a little more configuration than a static site. there are lots of plugins and examples for popular webframeworks like astro, nextjs, nuxt, etc. https://developers.cloudflare.com/pages btw you can still deploy your
2 replies
CDCloudflare Developers
Created by itsricky on 8/27/2023 in #pages-help
How do I publish from Wordpress to GitHub without using/paying $$$ for the Simply Static plug-in?
i doubt they're going to let you export the code. this is how a lot of these website builders get you locked into their ecosystem. you can't take the code with you. they want you paying them to use their tool. this is one of many reasons why you hear people say don't use website builders. it's stuff like this. if your website isn't too complicated, you could maybe just right click view source and copy each page into its own html file. but the code will likely be beyond ugly and probably has references to other assets. you'd have to get the source for each of those assets but they're usually minified/bundled and will also be not human friendly at all.
4 replies