mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
use cors and identity crates
This commit is contained in:
@ -1,9 +1,8 @@
|
||||
#[macro_use]
|
||||
extern crate serde_derive;
|
||||
|
||||
use actix_web::{
|
||||
http::header, middleware::cors::Cors, middleware::Logger, web, App, HttpServer,
|
||||
};
|
||||
use actix_cors::Cors;
|
||||
use actix_web::{http::header, middleware::Logger, web, App, HttpServer};
|
||||
|
||||
mod user;
|
||||
|
||||
|
Reference in New Issue
Block a user