修改asset_index位置

This commit is contained in:
2025-01-05 17:14:58 +08:00
parent 7e5888e7e5
commit d58a0d26cf
5 changed files with 18 additions and 6 deletions

View File

@ -166,7 +166,7 @@ pub async fn asset(req: HttpRequest) -> impl Responder {
if req.path() == "/" {
return HttpResponse::Ok()
.insert_header(ContentType::html())
.body(include_file!("webui/dist/asset_index.html"));
.body(include_file!("src/web/asset_index.html"));
}
let path = req.path();