aboutsummaryrefslogtreecommitdiff
path: root/src/bin/actix.rs
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2022-05-15 16:31:10 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2022-05-15 16:31:10 +0200
commit622fef31c7bdbc0646fbad6ba11ebeb393fb626a (patch)
tree228904545f352860f386cac0c7859f562f87dc49 /src/bin/actix.rs
parent519b9904d892f9e3e54920377c58f62fefbb7383 (diff)
downloadmacroblog.rs-622fef31c7bdbc0646fbad6ba11ebeb393fb626a.tar.gz
macroblog.rs-622fef31c7bdbc0646fbad6ba11ebeb393fb626a.tar.bz2
macroblog.rs-622fef31c7bdbc0646fbad6ba11ebeb393fb626a.zip
fix: Add missing namespace
Diffstat (limited to 'src/bin/actix.rs')
-rw-r--r--src/bin/actix.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/actix.rs b/src/bin/actix.rs
index c2f81fe..4137713 100644
--- a/src/bin/actix.rs
+++ b/src/bin/actix.rs
@@ -1,5 +1,6 @@
use actix_web::{get, web, App, HttpResponse, HttpServer, Responder, http::header::ContentType};
use macroblog::blog::{render_index_page, render_post_page};
+use std::{env};
#[get("/")]
async fn index() -> impl Responder {