From 984d384d148090cdb0f6aa2f234a8b946c3b9ee3 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 31 Dec 2019 16:47:35 -0700 Subject: Change storage paths to follow OS conventions; migrate folder (#2955) --- caddy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'caddy.go') diff --git a/caddy.go b/caddy.go index 5477267..f50598e 100644 --- a/caddy.go +++ b/caddy.go @@ -348,7 +348,7 @@ func run(newCfg *Config, start bool) error { } if newCfg.storage == nil { - newCfg.storage = &certmagic.FileStorage{Path: dataDir()} + newCfg.storage = &certmagic.FileStorage{Path: AppDataDir()} } certmagic.Default.Storage = newCfg.storage -- cgit v1.2.3