maddsua
maddsua
Explore posts from servers
CDCloudflare Developers
Created by maddsua on 3/18/2024 in #pages-help
Cannot setup a domain for Pages project
No description
32 replies
CDCloudflare Developers
Created by maddsua on 3/13/2024 in #workers-help
Rejections in execution context and dashboard error count
If a promise that's been passed to ctx.waitUntil() throws, will it be reflected as an error in Workers Dashboard? I'd figure it out myself, but the test worker still pretends that it didn't receive anything and the dashboard just shows 0 requests 😀
2 replies
TtRPC
Created by maddsua on 2/23/2024 in #❓-help
Procedure specific custom headers
I'm using recaptcha to protect some of the procedures, and I'm used to sending challenge tokens as headers - this way the don't dangle in actual request data. It's and Astro + trpc fetch project and the server part gives me no issues, but I can't figure out how to run recaptcha and set that header only on some of the procedures. The example shown in the docs would add headers or run function for all of them, and I don't need that
12 replies
CDCloudflare Developers
Created by maddsua on 12/26/2023 in #general-help
How to setup mailchannels integration on Cloudflare Pages app with a custom domain?
I made it work on workers, nothing complicated there, but it doesn't seem to work with pages. Mailchannels just returns Error: Mailchannels API rejected: Failed to send email: 550 5.7.1 This sender is not authorized to send from.... I've set up the _mailchannels TXT record like this v=mc1 cfid=namespace.workers.dev cfid=namespace2.workers.dev cfid=customdomain.com and it still does not work with the custom domain.
14 replies
CDCloudflare Developers
Created by maddsua on 12/23/2023 in #general-help
Quick question about CPU limit on Pages Functions
I'm running an Astro app and it's not unusual for it's functions to run longer than 50ms (it was the old limit iirc). Now, there's a "No CPU limit set" and a button to change it. I just want to know how that works now, will longer requests be counted as multiple invocations or it's just Cloudflare being super generous lately xD
9 replies
RRailway
Created by maddsua on 12/3/2023 in #✋|help
build fails on redeploy from ui
So I use a dockerfile to deploy my service using cli, the entire image only consist of a single js file and it seems like railway grabs the entire directory anyway and then tries to build the the thing from the wrong files and fails. Is it time to use .railwayignore?
59 replies
RRailway
Created by maddsua on 11/10/2023 in #✋|help
Railway up fails to find ts modules in cicd
No description
20 replies