TA159

Notas, resueltos y trabajos practicos de la materia Sistemas Gráficos
Index Commits Files Refs Submodules README LICENSE
commit 5cacdcf8dd85566362a848c88a323809d158881a
parent 3c0ffee64f4bca6d1a194c863e5b09f1642c8a17
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date:   Sun,  7 Jul 2024 17:11:17 -0300

fix relative links in github pages

Diffstat:
Mtp/bridge.html | 2+-
Mtp/rails.html | 2+-
Mtp/scene.html | 4++--
Mtp/terrain.html | 2+-
Mtp/train.html | 2+-
Mtp/trees.html | 2+-
Mtp/tunnel.html | 2+-
Mtp/vite.config.mjs | 1+
8 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/tp/bridge.html b/tp/bridge.html
@@ -13,6 +13,6 @@
     </head>
     <body>
         <div id="mainContainer"></div>
-        <script type="module" src="/src/standalone/bridge.js"></script>
+        <script type="module" src="src/standalone/bridge.js"></script>
     </body>
 </html>
diff --git a/tp/rails.html b/tp/rails.html
@@ -13,6 +13,6 @@
     </head>
     <body>
         <div id="mainContainer"></div>
-        <script type="module" src="/src/standalone/rails.js"></script>
+        <script type="module" src="src/standalone/rails.js"></script>
     </body>
 </html>
diff --git a/tp/scene.html b/tp/scene.html
@@ -52,7 +52,7 @@
                 </p>
                 <p>
                     Mover: WASD<br>
-                    Mover Rápido: Shift+w<br>
+                    Mover Rápido: Shift+w<br>
                     Mirar: MOUSE<br>
                     Animación del Tren: SPACE<br>
                     Camara siguiente: c<br>
@@ -60,6 +60,6 @@
                 </p>
             </div>
         </div>
-        <script type="module" src="/src/scene.js"></script>
+        <script type="module" src="src/scene.js"></script>
     </body>
 </html>
diff --git a/tp/terrain.html b/tp/terrain.html
@@ -13,6 +13,6 @@
     </head>
     <body>
         <div id="mainContainer"></div>
-        <script type="module" src="/src/standalone/terrain.js"></script>
+        <script type="module" src="src/standalone/terrain.js"></script>
     </body>
 </html>
diff --git a/tp/train.html b/tp/train.html
@@ -13,6 +13,6 @@
     </head>
     <body>
         <div id="mainContainer"></div>
-        <script type="module" src="/src/standalone/train.js"></script>
+        <script type="module" src="src/standalone/train.js"></script>
     </body>
 </html>
diff --git a/tp/trees.html b/tp/trees.html
@@ -13,6 +13,6 @@
     </head>
     <body>
         <div id="mainContainer"></div>
-        <script type="module" src="/src/standalone/trees.js"></script>
+        <script type="module" src="src/standalone/trees.js"></script>
     </body>
 </html>
diff --git a/tp/tunnel.html b/tp/tunnel.html
@@ -13,6 +13,6 @@
     </head>
     <body>
         <div id="mainContainer"></div>
-        <script type="module" src="/src/standalone/tunnel.js"></script>
+        <script type="module" src="src/standalone/tunnel.js"></script>
     </body>
 </html>
diff --git a/tp/vite.config.mjs b/tp/vite.config.mjs
@@ -17,4 +17,5 @@ export default defineConfig({
             },
         },
     },
+    base: "./",
 })