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

This commit is contained in:
kaysond authored and nitnelave committed 2021-12-01 00:38:54 +01:00
1 parent c761f08995
commit e11a8460ff
3 files changed
+27 -9

No files matched your search

+1 -1
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)),
);
}