Spaces:
Sleeping
Sleeping
Update templates/index.html
Browse files- templates/index.html +4 -3
templates/index.html
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
<title>TaskBot v1</title>
|
7 |
<script src="https://kit.fontawesome.com/cda0e70b18.js" crossorigin="anonymous"></script>
|
8 |
<link rel="Icon" href="TaskBot logo.png">
|
|
|
9 |
</head>
|
10 |
<style>
|
11 |
body {
|
@@ -289,9 +290,9 @@ async function answer() {
|
|
289 |
// Append AI response to the chat area
|
290 |
document.getElementById('chatArea').appendChild(text2);
|
291 |
}
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
</script>
|
296 |
|
297 |
</body>
|
|
|
6 |
<title>TaskBot v1</title>
|
7 |
<script src="https://kit.fontawesome.com/cda0e70b18.js" crossorigin="anonymous"></script>
|
8 |
<link rel="Icon" href="TaskBot logo.png">
|
9 |
+
<link rel="manifest" href="/static/manifest.json">
|
10 |
</head>
|
11 |
<style>
|
12 |
body {
|
|
|
290 |
// Append AI response to the chat area
|
291 |
document.getElementById('chatArea').appendChild(text2);
|
292 |
}
|
293 |
+
if ('serviceWorker' in navigator) {
|
294 |
+
navigator.serviceWorker.register('/static/service-worker.js');
|
295 |
+
}
|
296 |
</script>
|
297 |
|
298 |
</body>
|