CI: coverage build step

This commit is contained in:
realaravinth
2021-05-08 13:59:13 +05:30
parent 5466d1f136
commit 9809cb7bea
5 changed files with 57 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ pub mod routes {
impl Docs {
pub const fn new() -> Self {
Docs {
home: "/docs/",
home: "/docs",
spec: "/docs/openapi.json",
assets: "/docs/{_:.*}",
}
@@ -84,6 +84,7 @@ async fn spec() -> HttpResponse {
}
async fn index() -> HttpResponse {
println!("getting index");
handle_embedded_file("index.html")
}