]> Untitled Git - lemmy.git/blobdiff - crates/utils/src/settings.rs
Moving docs to join.lemmy.ml . Fixes #1396 (#1410)
[lemmy.git] / crates / utils / src / settings.rs
index 4877d46b3058f0eda7250bec8d503092406fd1fe..8301dcee41e54155e644c4b1ca60d481bf3752e2 100644 (file)
@@ -2,7 +2,7 @@ use crate::location_info;
 use anyhow::Context;
 use config::{Config, ConfigError, Environment, File};
 use serde::Deserialize;
-use std::{env, fs, io::Error, net::IpAddr, path::PathBuf, sync::RwLock};
+use std::{env, fs, io::Error, net::IpAddr, sync::RwLock};
 
 static CONFIG_FILE_DEFAULTS: &str = "config/defaults.hjson";
 static CONFIG_FILE: &str = "config/config.hjson";
@@ -15,7 +15,6 @@ pub struct Settings {
   pub bind: IpAddr,
   pub port: u16,
   pub tls_enabled: bool,
-  pub docs_dir: PathBuf,
   pub jwt_secret: String,
   pub pictrs_url: String,
   pub iframely_url: String,