mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-05 13:57:39 +03:00
add tera example
This commit is contained in:
parent
26af6040ff
commit
3e8a6c3988
5 changed files with 85 additions and 1 deletions
|
@ -56,7 +56,7 @@ fn with_param(req: HttpRequest) -> Result<HttpResponse>
|
|||
fn main() {
|
||||
::std::env::set_var("RUST_LOG", "actix_web=info");
|
||||
let _ = env_logger::init();
|
||||
let sys = actix::System::new("ws-example");
|
||||
let sys = actix::System::new("basic-example");
|
||||
|
||||
HttpServer::new(
|
||||
|| Application::new()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue