Update programmatic title and set post-build Python version to v3

This commit is contained in:
Artur Lozovski 2023-12-07 17:34:44 +00:00
parent d5589517ac
commit 90ed2844d5
6 changed files with 8 additions and 6 deletions

File diff suppressed because one or more lines are too long

View file

@ -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

View file

@ -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"
}

View file

@ -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

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import os
import json

View file

@ -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) => {