improve disk change detection
This commit is contained in:
@@ -3,7 +3,6 @@ package server
|
||||
import (
|
||||
"context"
|
||||
"crypto/tls"
|
||||
"fmt"
|
||||
"log/slog"
|
||||
"net/http"
|
||||
"os"
|
||||
@@ -99,7 +98,7 @@ func SetTls(disableTls bool) Option {
|
||||
// SetCertificate sets the path to the certificate used for TLS, in PEM format
|
||||
func SetCertificate(tlsCertFilename string) Option {
|
||||
return func(s *Server) {
|
||||
fmt.Printf("Setting tlsCertFilename to '%s'\n", tlsCertFilename)
|
||||
//fmt.Printf("Setting tlsCertFilename to '%s'\n", tlsCertFilename)
|
||||
s.tlsCertFilename = tlsCertFilename
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user