]> git.ardis.lu - minimal-routing/commitdiff
added index.html to default route
authorEnceladus <69345507+n-ce@users.noreply.github.com>
Sun, 5 Mar 2023 04:05:11 +0000 (09:35 +0530)
committerardislu <ArdisGLu@gmail.com>
Sun, 5 Mar 2023 04:16:43 +0000 (20:16 -0800)
index.html

index d8542979cc2a3cb1025b19e9de1dca0f037e6ae2..7b501a9b8fc5631023289c5404137024bb99bdeb 100644 (file)
 
     // Display the appropriate page based on the URL path (does NOT modify browser history)
     function showPage(path) {
-      if (path === '') {
+      if (path === '' || path === 'index.html') {
         path = 'home';
       }
 
   </script>
 </body>
 
-</html>
\ No newline at end of file
+</html>
This page took 0.037571 seconds and 4 git commands to generate.