Skip to content

Commit 2346457

Browse files
committed
Adds fallback favicon
1 parent da8fa04 commit 2346457

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

front/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
6-
<link rel="icon" href="" />
6+
<link data-trunk rel="icon" href="/static/favicon.svg" />
77
<title>Oxfeed</title>
88

99
<link data-trunk rel="css" href="/static/lib/bootstrap/dist/css/bootstrap.min.css" />

front/src/context.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ impl yew::Reducible for Context {
3535
context.alerts.remove(idx);
3636
}
3737
Logged => context.auth = true,
38-
AuthRequire => context.auth = false,
38+
AuthRequire => {
39+
context.auth = false;
40+
context.websocket_error = false;
41+
}
3942
NeedUpdate => context.need_update = context.need_update.overflowing_add(1).0,
4043
WebsocketError => context.websocket_error = true,
4144
Route(route) => {

front/static/favicon.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)