Make a request() utility

This commit is contained in:
spikecodes 2020-11-18 18:50:59 -08:00
parent f455e2095d
commit 0054557c86
8 changed files with 105 additions and 64 deletions

View file

@ -24,6 +24,7 @@ async fn favicon() -> HttpResponse {
async fn main() -> std::io::Result<()> {
// start http server
println!("Running Libreddit on 0.0.0.0:8080!");
HttpServer::new(|| {
App::new()
// GENERAL SERVICES