print when starting

This commit is contained in:
Dominic Harris 2022-02-28 16:59:12 -05:00
parent 7f06a905d6
commit bc74ae66d0
No known key found for this signature in database
GPG Key ID: 93CCF85F3E2A4F65
1 changed files with 2 additions and 0 deletions

View File

@ -138,6 +138,8 @@ async fn main() -> io::Result<()> {
let state = AppState { config, pool };
println!("🚀 zer0bin starting");
HttpServer::new(move || {
let cors = Cors::default()
.allow_any_header()