Move index.html files.

The RLGWebD index.html no longer needs to be renamed when installing.
This commit is contained in:
John "Elwin" Edwards 2015-01-14 15:16:31 -05:00
parent 2e0cec33ba
commit e7aa19136d
2 changed files with 1 additions and 1 deletions

View file

@ -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);