Skip to content

Commit

Permalink
Set 'color-scheme' in default catcher HTML.
Browse files Browse the repository at this point in the history
  • Loading branch information
bash authored and SergioBenitez committed Oct 16, 2023
1 parent ed5c755 commit 58adc48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/lib/src/catcher/catcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ r#"<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="color-scheme" content="light dark">
<title>"#, $code, " ", $reason, r#"</title>
</head>
<body align="center">
Expand Down

0 comments on commit 58adc48

Please sign in to comment.