Change HTTPS port

This commit is contained in:
Chigozirim Igweamaka 2024-06-09 05:13:58 +01:00
parent d88e27ddf0
commit 8537fc1e19
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ func serveHTTP(socketServer *socketio.Server, serveHTTPS bool) {
http.Handle("/socket.io/", socketServer)
if serveHTTPS {
httpsAddr := ":4443"
httpsAddr := ":443"
httpsServer := &http.Server{
Addr: httpsAddr,
TLSConfig: &tls.Config{

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
HTTP_PID=$(sudo lsof -t -i:5000)
HTTPS_PID=$(sudo lsof -t -i:4443)
HTTPS_PID=$(sudo lsof -t -i:443)
if [ -n "$HTTP_PID" ]; then