Hi, I want to connect to an external server using IPC, I decided to use net-ipc. I got to the point that I should run the ipc in a custom server.js, but now I'm stuck at figuring out how to pass data between page and the data I have from ipc, I don't want to use a http API to pass it around, but rather I would prefer to directly access a variable which I would set in server.js. Does anyone know how can I do that? Right now I want to use getStaticProps as currently I'm implementing stats on the main page (I know I can use http API for that but I need the ipc to get other stuff that will be requested pretty often and I feel like ipc is a better solution here)
#IPC Connection
2 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)