Commit ·
5a3ccc3
1
Parent(s): 77d6a17
Fix static file paths and package-data
Browse files- Update HTML to use /static/ paths like official app
- Update package-data to include files recursively
pyproject.toml
CHANGED
|
@@ -59,7 +59,7 @@ where = ["src"]
|
|
| 59 |
|
| 60 |
[tool.setuptools.package-data]
|
| 61 |
reachy_mini_ha_voice = [
|
| 62 |
-
"static/*",
|
| 63 |
-
"wakewords/*",
|
| 64 |
-
"sounds/*",
|
| 65 |
]
|
|
|
|
| 59 |
|
| 60 |
[tool.setuptools.package-data]
|
| 61 |
reachy_mini_ha_voice = [
|
| 62 |
+
"static/**/*",
|
| 63 |
+
"wakewords/**/*",
|
| 64 |
+
"sounds/**/*",
|
| 65 |
]
|
src/reachy_mini_ha_voice/static/index.html
CHANGED
|
@@ -1,11 +1,11 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html lang="
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1
|
| 6 |
-
<title>Reachy Mini
|
| 7 |
-
<link rel="stylesheet" href="style.css">
|
| 8 |
-
</head>
|
| 9 |
<body>
|
| 10 |
<div class="container">
|
| 11 |
<header>
|
|
@@ -56,6 +56,6 @@
|
|
| 56 |
</footer>
|
| 57 |
</div>
|
| 58 |
|
| 59 |
-
<script src="main.js"></script>
|
| 60 |
</body>
|
| 61 |
</html>
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
| 6 |
+
<title>Reachy Mini HA Voice – Settings</title>
|
| 7 |
+
<link rel="stylesheet" href="/static/style.css" />
|
| 8 |
+
</head>
|
| 9 |
<body>
|
| 10 |
<div class="container">
|
| 11 |
<header>
|
|
|
|
| 56 |
</footer>
|
| 57 |
</div>
|
| 58 |
|
| 59 |
+
<script src="/static/main.js"></script>
|
| 60 |
</body>
|
| 61 |
</html>
|