default router index file moved to config;

This commit is contained in:
tmshv committed 2015-03-28 00:01:49 +03:00
1 parent a67b3244ef
commit 385cecfc97
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -10,6 +10,7 @@ var privateFile = process.env["PRIVATE"] || "private.json";
var privateData = JSON.parse(fs.readFileSync(privateFile, "utf-8"));
var config = {
defaultIndex: "/templates/index.html" || process.env["INDEX"],
port: process.env["PORT"] || 3000,
pub: "./",
data: {