Skip to content

Commit

Permalink
fix(response): mobile html viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
Fuwn committed Nov 2, 2024
1 parent 4bfd31c commit 7c4b3e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub async fn default(
String::new()
} else {
format!(
"<!DOCTYPE html><html{}><head>",
r#"<!DOCTYPE html><html{}><head><meta name="viewport" content="width=device-width, initial-scale=1.0">"#,
if language.is_empty() {
String::new()
} else {
Expand Down Expand Up @@ -214,7 +214,7 @@ pub async fn default(
<dt>Status Code</dt>
<dd>{} ({})</dd>
<dt>Meta</dt><dd><code>{}</code></dd>\
<dt>Capsule Response Time</dt>
<dd>{} milliseconds</dd>
<dt>Gemini-to-HTML \
Expand Down

0 comments on commit 7c4b3e4

Please sign in to comment.