1
This commit is contained in:
@@ -2,7 +2,7 @@ use axum::{
|
||||
body::Body,
|
||||
extract::{Path, State},
|
||||
http::{header, StatusCode},
|
||||
response::{Html, IntoResponse, Response},
|
||||
response::{Html, Response},
|
||||
Json,
|
||||
};
|
||||
use serde::Serialize;
|
||||
@@ -70,7 +70,7 @@ pub async fn download_page(State(state): State<Arc<AppState>>) -> Html<String> {
|
||||
"http://localhost:3000".to_string()
|
||||
};
|
||||
|
||||
let html = format!(r#"<!DOCTYPE html>
|
||||
let html = format!(r##"<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
@@ -187,7 +187,7 @@ pub async fn download_page(State(state): State<Arc<AppState>>) -> Html<String> {
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>"#,
|
||||
</html>"##,
|
||||
server_name = config.server_name,
|
||||
server_url = server_url,
|
||||
version = config.client_version,
|
||||
|
||||
Reference in New Issue
Block a user