shobhit-pathak / cs2-rcon-panel

A simple web panel to control CS2 servers using RCON
MIT License
50 stars 16 forks source link

Change logging to HTTP #8

Closed Taraman17 closed 8 months ago

Taraman17 commented 8 months ago

I'm not sure that UDP logging will be made available in the new server.

I would suggest to switch to http logging. Since you are already using express in this, it should not pose a big problem . Basically it just needs a POST endpoint. Just did that in my own project (https://github.com/Taraman17/nodejs-cs2-api/blob/master/modules/logreceive.js)

shobhit-pathak commented 8 months ago

Hey, thanks for the suggestion and linking your project! I'll definitely go through it and try implementing http logging in my project, it will help me a lot!

Taraman17 commented 8 months ago

Very welcome. I found, that our approach using a RESTful Api is quite similar and I took some inspiration from your code.

So I thought I could give something back. ;-)

shobhit-pathak commented 8 months ago

Haha thanks a lot!