LoLesttK
LoLesttK
Explore posts from servers
HHono
Created by LoLesttK on 2/17/2025 in #help
Hono WebSocket Helper Cloudflare
Hello, i want to make a chat app using WebSocket Helper... but im having a hard time to comprehend how to divide it into chat groups and broadcast to them...(since theres not "onOpen") I rawdogged it using a receiver... but i assume using the WS Helper is more idiomic. Any suggestions? Thanks🙏
1 replies
BABetter Auth
Created by LoLesttK on 1/18/2025 in #help
OAuth skill issue
Ok thats 100% skill issue on my part.. but the flow that i know is:
Click "Sign In with Github" for example Redirect to Github OAuth login page Redirect back to my Url
when clicking on button which has:
authClient.signIn.social({ provider: 'github' })
authClient.signIn.social({ provider: 'github' })
all i get is my redirect request... anyone can point me to how i should be done? Thank you ❤️
10 replies
CDCloudflare Developers
Created by LoLesttK on 1/4/2025 in #pages-help
Functions prod vs dev
So i was following thie pages-functions guide: https://developers.cloudflare.com/pages/functions/get-started/ seems easy.. put in /functions folder and you good to go. so for the sake of checking its working copied the function from the guide. /functions/helloworld.js
export function onRequest(context) {
return new Response("Hello, world!")
}
export function onRequest(context) {
return new Response("Hello, world!")
}
long story short... when im deploying it localy (wrangler) it works (http://localhost:8788/helloworld). When i deploy to cloudflare it does't work, it shows the 404 page of the project. https://my-cf-domain.com/helloworld Anyone any idea why? 🙏
13 replies