Support custom license information

This commit is contained in:
novice.li 2024-01-28 17:52:00 +08:00
parent ddbbdc42cd
commit 4d4c8a8e76
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ async fn main() -> std::io::Result<()> {
.route("/images/icons.svg", web::get().to(|| async { HttpResponse::Ok().content_type(mime::IMAGE_SVG).body(ICONS) }))
.route("/generateLicense", web::post().to(generate_license))
})
.bind(("127.0.0.1", 3000))?
.bind(("127.0.0.1", 8080))?
.run()
.await
}