Skip to content

Commit c892f90

Browse files
committed
fix: cert path requires a trailing slash
1 parent 78f76fe commit c892f90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func CertPath() string {
5757

5858
// MakeCert for the give hostname, if it doesn't already exist.
5959
func MakeCert(host string) (certFile string, keyFile string, err error) {
60-
cp := CertPath()
60+
cp := CertPath() + string(filepath.Separator)
6161
err = os.MkdirAll(cp, 0755)
6262
if err != nil {
6363
return "", "", err

0 commit comments

Comments
 (0)