实现步骤:. Cargo.toml添加依赖. rocket_cors = "0.5.1". 配置CORS,新建一个函数. use rocket::http::{Method}; use rocket_cors::{Cors, AllowedOrigins, ...
確定! 回上一頁