Serverless functions in react + vite

Hello,
I am trying to add serverless functions to my project, I added method according to template, tried to redirect helius webhook to the api/webhook, but it appears I am not supposed to use extension .tsx for the function file? I am unsure how to add further functionality to the code, for example display received data through react.

I am using bun + vite as runtime, typescript + react as frontend, and want to use helius webhook.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.