-use crate::settings::Settings;
use actix_files::NamedFile;
use actix_web::*;
+use lemmy_utils::settings::Settings;
pub fn config(cfg: &mut web::ServiceConfig) {
cfg
)
.route("/search", web::get().to(index))
.route("/sponsors", web::get().to(index))
- .route("/password_change/{token}", web::get().to(index));
+ .route("/password_change/{token}", web::get().to(index))
+ .route("/instances", web::get().to(index));
}
async fn index() -> Result<NamedFile, Error> {