summaryrefslogtreecommitdiff
path: root/caddy.go
diff options
context:
space:
mode:
Diffstat (limited to 'caddy.go')
-rw-r--r--caddy.go2
1 files changed, 1 insertions, 1 deletions
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