add own index html
This commit is contained in:
parent
b724236671
commit
6b16402126
2 changed files with 3 additions and 4 deletions
|
@ -187,10 +187,12 @@ pub(crate) async fn index(conf: web::Data<config::Config>, r: HttpRequest) -> im
|
|||
let information_block = build_information_block(&conf);
|
||||
let contact_block = build_contact_block(&conf);
|
||||
let donation_block = build_donation_block(&conf);
|
||||
let own_index = std::fs::read_to_string("./config/index.html").unwrap_or_default();
|
||||
let content = format!(
|
||||
"
|
||||
{information_block}
|
||||
{contact_block}
|
||||
{own_index}
|
||||
{donation_block}
|
||||
"
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue