Skip to content

Commit

Permalink
Merge pull request #46 from arccik/main
Browse files Browse the repository at this point in the history
Update title
  • Loading branch information
ikatson authored Dec 7, 2023
2 parents d558951 + 90ed284 commit eb25ef3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/librqbit/webui/dist/assets/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crates/librqbit/webui/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>rqbit web 4.0.0-beta.0</title>
<title>rqbit web</title>
<link rel="icon" type="image/svg+xml" href="assets/logo.svg" />
<!-- Include Bootstrap CSS -->
<link
Expand Down
2 changes: 1 addition & 1 deletion crates/librqbit/webui/dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"src": "assets/logo.svg"
},
"index.html": {
"file": "assets/index-21d43919.js",
"file": "assets/index-9523ae4e.js",
"isEntry": true,
"src": "index.html"
}
Expand Down
2 changes: 1 addition & 1 deletion crates/librqbit/webui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>rqbit web 4.0.0-beta.0</title>
<title>rqbit web</title>
<link rel="icon" type="image/svg+xml" href="assets/logo.svg" />
<!-- Include Bootstrap CSS -->
<link
Expand Down
2 changes: 1 addition & 1 deletion crates/librqbit/webui/post-build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import os
import json
Expand Down
4 changes: 3 additions & 1 deletion crates/librqbit/webui/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const RootWithVersion = () => {
const refreshVersion = () =>
API.getVersion().then(
(version) => {
setTitle(`rqbit web UI - v${version}`);
const title = `rqbit web UI - v${version}`;
setTitle(title);
document.title = title;
return 10000;
},
(e) => {
Expand Down

0 comments on commit eb25ef3

Please sign in to comment.