fix(server): changed the url to always be lowercase when it comes over

This commit is contained in:
2025-03-07 05:49:13 -06:00
parent 402ce734b3
commit c74f8e2a5f
2 changed files with 24 additions and 7 deletions

View File

@@ -61,9 +61,9 @@ export const stopTCPServer = () => {
return {success: true, message: "TCP Server stopped"};
};
app.route("/tcpServer/start", startTCP);
app.route("/tcpServer/stop", stopTCP);
app.route("/tcpServer/restart", restartTCP);
app.route("/tcpserver/start", startTCP);
app.route("/tcpserver/stop", stopTCP);
app.route("/tcpserver/restart", restartTCP);
// start the server after on system start up
startTCPServer();