aboutsummaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2021-05-15 13:00:11 +0200
committerGitHub <noreply@github.com>2021-05-15 13:00:11 +0200
commite0fede55a83f9139de324db62306746614d1d8f3 (patch)
treeface0354db3c71198221206b6b39aef9109a09b9 /src/server
parentfeat(build): incorporate git committing and tagging into the publish process (diff)
parentInvert Assets Installation Feature (diff)
downloadsl0ppij-e0fede55a83f9139de324db62306746614d1d8f3.tar.gz
sl0ppij-e0fede55a83f9139de324db62306746614d1d8f3.tar.xz
sl0ppij-e0fede55a83f9139de324db62306746614d1d8f3.zip
Merge pull request #512 from a-kenji/invert-asset-installation
Invert Assets Installation Feature
Diffstat (limited to 'src/server')
-rw-r--r--src/server/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/mod.rs b/src/server/mod.rs
index a4a79ca0..3bd38999 100644
--- a/src/server/mod.rs
+++ b/src/server/mod.rs
@@ -187,7 +187,7 @@ fn init_session(
// Determine and initialize the data directory
let data_dir = opts.data_dir.unwrap_or_else(get_default_data_dir);
- #[cfg(enable_automatic_assets_installation)]
+ #[cfg(not(disable_automatic_assets_installation))]
populate_data_dir(&data_dir);
// Don't use default layouts in tests, but do everywhere else