fix(server): changed the url to always be lowercase when it comes over
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user