diff options
author | Danilo Bargen <mail@dbrgn.ch> | 2022-10-22 22:00:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-22 22:00:29 +0200 |
commit | ab5148f237a8eacddba6ab25e0761b6dfa9c5e1b (patch) | |
tree | e3eafa72996270e3061ba1832eb1b286cbe262d0 | |
parent | 86c850282e395497f88f2020f3c8c7cc0fd3d843 (diff) |
Fix path source for custom pages dir (#297)
-rw-r--r-- | src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs index 0889271..e1bc4ba 100644 --- a/src/config.rs +++ b/src/config.rs @@ -334,7 +334,7 @@ impl Config { .custom_pages_dir .map(|path| PathWithSource { path, - source: PathSource::OsConvention, + source: PathSource::ConfigFile, }) .or_else(|| { get_app_root(AppDataType::UserData, &crate::APP_INFO) @@ -342,7 +342,7 @@ impl Config { // Note: The `join("")` call ensures that there's a trailing slash PathWithSource { path: path.join("pages").join(""), - source: PathSource::ConfigFile, + source: PathSource::OsConvention, } }) .ok() |