From: Enceladus <69345507+n-ce@users.noreply.github.com> Date: Sun, 5 Mar 2023 04:05:11 +0000 (+0530) Subject: added index.html to default route X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=a6ad8c6a8be60980caeb3ef3ecaed898c71d6348;p=minimal-routing added index.html to default route --- diff --git a/index.html b/index.html index d854297..7b501a9 100644 --- a/index.html +++ b/index.html @@ -138,7 +138,7 @@ // 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'; } @@ -190,4 +190,4 @@ - \ No newline at end of file +