Mercurial > hg > rlgwebd
diff webtty.js @ 177:5372f1f97cf5
Move index.html files.
The RLGWebD index.html no longer needs to be renamed when installing.
author | John "Elwin" Edwards |
---|---|
date | Wed, 14 Jan 2015 15:16:31 -0500 |
parents | c4a32007d2dc |
children |
line wrap: on
line diff
--- a/webtty.js Wed Jan 14 07:44:22 2015 -0500 +++ b/webtty.js Wed Jan 14 15:16:31 2015 -0500 @@ -146,7 +146,7 @@ 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);