From e7aa19136d27cc5001e7dd47f7d55a4d8264bcfc Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Wed, 14 Jan 2015 15:16:31 -0500 Subject: [PATCH] Move index.html files. The RLGWebD index.html no longer needs to be renamed when installing. --- index-rlg.html => index.html | 0 webtty.js | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename index-rlg.html => index.html (100%) diff --git a/index-rlg.html b/index.html similarity index 100% rename from index-rlg.html rename to index.html diff --git a/webtty.js b/webtty.js index ac889e9..004b3ff 100755 --- a/webtty.js +++ b/webtty.js @@ -146,7 +146,7 @@ function getFormValues(formtext) { function serveStatic(req, res, fname) { var nname = path.normalize(fname); if (nname == "" || nname == "/") - nname = "index.html"; + nname = "index-sh.html"; if (nname.match(/\/$/)) path.join(nname, "index.html"); /* it was a directory */ var realname = path.join(serveStaticRoot, nname);