brumbrum_brum
Explore posts from serversCDCloudflare Developers
•Created by brumbrum_brum on 9/11/2024 in #general-help
AWS Route 53 Alias DNS
I am trying to connect my AWS api gateway to a CF domain using route 53.
I have created an alias record inside my route 53 zone pointing to the gateway.
The record is of type "A", and has a value of: "d-ID.execute-api.ZONE.amazonaws.com.".
When I try and create a DNS record for this in the CF dashboard, I get an error stating that I cannot do it, because the value is not a valid IPV4 adress. What do I do?
19 replies
CDCloudflare Developers
•Created by brumbrum_brum on 9/7/2024 in #pages-help
ENV variables with wrangler pages CLI (VITE REACT)
How do I add env variables to a deployment of a pages application? I am writing a github action that is suppossed to deploy my pages application, and I am trying to grap some secrets from the repo, and add them as env variables for the pages.
I have tried this:
But MY_VARIABLE does not show up in the pages dashboard. How can this be done?
5 replies
Fastify + TRPC on Vercel
I am having trouble hosting a Fastify + TRPC server on Vercel.
I have tried two different vercel.json setups, but they both do not work for each reasons:
^^^This just shows the built code in the browser, no matter what route I go to.
^^This just shows a 404 page from Vercel.
This is my index.ts file (Built to index.js):
2 replies
Procedures with paramters.
Is it possible to pass parameters to a procedure in TRPC? I want a procedure that first checks if the user is signed in by default. But then I also want to be able to pass an array of permissions for the user to have, when the actual procedure is used in a route.
9 replies