mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-04 20:30:37 +00:00
Make a request() utility
This commit is contained in:
parent
f455e2095d
commit
0054557c86
8 changed files with 105 additions and 64 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue