1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-11-20 17:14:58 +00:00

Revert "Rename WikiDir to WikiGitDir"

This reverts commit 839b1e2448.
This commit is contained in:
handlerug
2021-06-16 19:27:28 +07:00
parent e5e9720654
commit 2f7ea74866
9 changed files with 23 additions and 21 deletions

View File

@@ -61,7 +61,7 @@ func tokenStoragePath() (string, error) {
if err != nil {
return "", err
}
if strings.HasPrefix(dir, cfg.WikiGitDir) {
if strings.HasPrefix(dir, cfg.WikiDir) {
return "", errors.New("wiki storage directory includes private config files")
}
return dir, nil