diff --git a/src/main.rs b/src/main.rs index a06f821..3d401fc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,6 +2,7 @@ use actix_web::{get, App, HttpResponse, HttpServer, Responder, web::{Data, Query use tera::{Tera, Context}; use serde::{Serialize, Deserialize}; use reqwest::{Client, header::HeaderMap}; +use std::env; struct Template { paste: Tera, @@ -31,9 +32,10 @@ struct ResponseJSON { async fn paste_render(data: Data