Move index.html files.
The RLGWebD index.html no longer needs to be renamed when installing.
This commit is contained in:
parent
2e0cec33ba
commit
e7aa19136d
2 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue