This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use actix_web::{App, HttpServer, Responder, HttpResponse, web, get, Result}; | |
use actix_web_static_files; | |
use actix_files as fs; | |
use actix_files::NamedFile; | |
async fn index() -> impl Responder { | |
HttpResponse::Ok().body("Hello world!") | |
} | |
async fn index2() -> impl Responder { |