Skip to content

Commit 83d2aec

Browse files
committed
add comment
1 parent 522c98d commit 83d2aec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/web_acme.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ func runACME(listenAddr string, m http.Handler) error {
5454
altTLSALPNPort = p
5555
}
5656

57+
// FIXME: this path is not right, it uses "AppWorkPath" incorrectly, and writes the data into "AppWorkPath/https"
58+
// Ideally it should migrate to AppDataPath write to "AppDataPath/https"
5759
certmagic.Default.Storage = &certmagic.FileStorage{Path: setting.AcmeLiveDirectory}
5860
magic := certmagic.NewDefault()
5961
// Try to use private CA root if provided, otherwise defaults to system's trust

0 commit comments

Comments
 (0)