Support custom license information
This commit is contained in:
parent
ddbbdc42cd
commit
4d4c8a8e76
|
@ -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("/images/icons.svg", web::get().to(|| async { HttpResponse::Ok().content_type(mime::IMAGE_SVG).body(ICONS) }))
|
||||||
.route("/generateLicense", web::post().to(generate_license))
|
.route("/generateLicense", web::post().to(generate_license))
|
||||||
})
|
})
|
||||||
.bind(("127.0.0.1", 3000))?
|
.bind(("127.0.0.1", 8080))?
|
||||||
.run()
|
.run()
|
||||||
.await
|
.await
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue