-Fixed old behavior that didn't allow for unencrypted http serving (since port 3000 was already being used by a failing tls serve command above. Instead of using a err != nil
command, the new method checks to see if the server.crt
and server.key
files exist in the same directory as the executable, and then run the TLS server only if it finds them. (Hence, the program will no longer panic with the "port 3000 already in use error."