Skip to content

Commit

Permalink
Update the web icon (#1688)
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs authored Mar 23, 2023
1 parent 0f2569d commit c42e1f1
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/re_web_viewer_server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ impl Service<Request<Body>> for Svc {
"text/html",
&include_bytes!("../web_viewer/index_bundled.html")[..],
),
"/favicon.ico" => (
"image/vnd.microsoft.icon",
&include_bytes!("../web_viewer/favicon.ico")[..],
"/favicon.svg" => (
"image/svg+xml",
&include_bytes!("../web_viewer/favicon.svg")[..],
),
"/sw.js" => (
"text/javascript",
Expand Down
Binary file removed web_viewer/favicon.ico
Binary file not shown.
11 changes: 11 additions & 0 deletions web_viewer/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed web_viewer/icon-256.png
Binary file not shown.
1 change: 1 addition & 0 deletions web_viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">

<head>
<link rel="icon" href="favicon.svg" />
<title>rerun viewer</title>
<style>
html {
Expand Down
1 change: 1 addition & 0 deletions web_viewer/index_bundled.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">

<head>
<link rel="icon" href="favicon.svg" />
<title>rerun viewer</title>
<style>
html {
Expand Down

0 comments on commit c42e1f1

Please sign in to comment.