diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-15 16:31:10 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2022-05-15 16:31:10 +0200 |
commit | 622fef31c7bdbc0646fbad6ba11ebeb393fb626a (patch) | |
tree | 228904545f352860f386cac0c7859f562f87dc49 /src/bin/actix.rs | |
parent | 519b9904d892f9e3e54920377c58f62fefbb7383 (diff) | |
download | macroblog.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.rs | 1 |
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 { |