diff --git a/main.go b/main.go index 0f44ac9..34be6ce 100644 --- a/main.go +++ b/main.go @@ -10,7 +10,7 @@ func main() { http.HandleFunc("/", server.SocketHandler) - err := http.ListenAndServe("localhost:8080", nil) + err := http.ListenAndServeTLS("wogehtspam.:8080", "path_to_cert_file", "path_to_key_file", nil) if err != nil { log.Println(err) }