diff --git a/src/main.rs b/src/main.rs index 5433de5..3107d8c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,14 +1,13 @@ +use actix_files::Files; +use actix_web::{web, App, HttpServer}; +use glob::glob; +use minify_html::{minify, Cfg}; use std::{ fs::{self, File}, io::{self, Write}, path::Path, }; -use actix_files::Files; -use actix_web::{web, App, HttpServer}; -use glob::glob; -use minify_html::{minify, Cfg}; - mod config; mod template; @@ -29,7 +28,7 @@ mod portfolio; #[actix_web::main] async fn main() -> io::Result<()> { - let config = config::get_config("/config/config.toml"); + let config = config::get_config("./config/config.toml"); let addr = ("127.0.0.1", config.port.unwrap_or(8080));