about summary refs log tree commit diff stats
path: root/js/pico-cam/index.html
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-06-30 21:15:06 -0400
committerelioat <elioat@tilde.institute>2024-06-30 21:15:06 -0400
commit822824c79ec0da595001c4448ae98d89ea8a4745 (patch)
tree34b09f65f98ebd0a51fd64bd34491b38bedb91ad /js/pico-cam/index.html
parente60e1d7b8b3ba262729152c0eba184898632e655 (diff)
downloadtour-822824c79ec0da595001c4448ae98d89ea8a4745.tar.gz
*
Diffstat (limited to 'js/pico-cam/index.html')
-rw-r--r--js/pico-cam/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/pico-cam/index.html b/js/pico-cam/index.html
index e0e1f21..e2df073 100644
--- a/js/pico-cam/index.html
+++ b/js/pico-cam/index.html
@@ -4,8 +4,8 @@
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>Pico Cam</title>
-    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
-    <link rel="icon" href="favicon.ico" type="image/x-icon">
+    <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
+    <link rel="icon" href="./favicon.ico" type="image/x-icon">
     <meta name="theme-color" content="#EEE1C6">
     <meta name="description" content="For those times when you need a Gameboy camera but only have a phone.">
     <style>
@@ -81,12 +81,12 @@
         <video id="webcam" autoplay playsinline style="display:none;"></video>
         <canvas id="ditheredOutput"></canvas>
     </div>
-    <script src="pico-cam.js"></script>
+    <script src="./pico-cam.js"></script>
     <script>
         // Check if Service Workers are supported
         if ('serviceWorker' in navigator) {
             window.addEventListener('load', function() {
-                navigator.serviceWorker.register('service-worker.js').then(function(registration) {
+                navigator.serviceWorker.register('./service-worker.js').then(function(registration) {
                     // Registration was successful
                     console.log('ServiceWorker registration successful with scope: ', registration.scope);
                 }, function(err) {