qualify instead of import

This commit is contained in:
Mylloon 2023-04-11 10:45:14 +02:00
parent 91d9ff4157
commit 2f35b9bdbd
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,6 +1,5 @@
use actix_files::Files;
use actix_web::{middleware::DefaultHeaders, web, App, HttpServer};
use std::io;
mod config;
mod template;
@ -24,7 +23,7 @@ mod portfolio;
mod contrib;
#[actix_web::main]
async fn main() -> io::Result<()> {
async fn main() -> std::io::Result<()> {
let config = config::get_config("./config/config.toml");
let addr = ("0.0.0.0", config.fc.port.unwrap());