add SRI for other resources; add routing for all root requests

This commit is contained in:
kaysond
2021-11-29 19:55:48 -08:00
committed by nitnelave
parent c761f08995
commit e11a8460ff
3 changed files with 27 additions and 9 deletions

View File

@@ -78,7 +78,7 @@ fn http_config<Backend>(
.service(
web::scope("/")
.route("", web::get().to(index))
.route("index.html", web::get().to(index)),
.route(".*", web::get().to(index)),
);
}