mirror of
https://github.com/cgzirim/seek-tune.git
synced 2025-12-17 08:54:19 +00:00
Change HTTPS port
This commit is contained in:
parent
d88e27ddf0
commit
8537fc1e19
2 changed files with 2 additions and 2 deletions
2
main.go
2
main.go
|
|
@ -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{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue