summaryrefslogtreecommitdiffstats
path: root/examples/nodejs-mongodb-mongoose-restify/server-http.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nodejs-mongodb-mongoose-restify/server-http.js')
-rw-r--r--examples/nodejs-mongodb-mongoose-restify/server-http.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nodejs-mongodb-mongoose-restify/server-http.js b/examples/nodejs-mongodb-mongoose-restify/server-http.js
index 223c250..08c5ff8 100644
--- a/examples/nodejs-mongodb-mongoose-restify/server-http.js
+++ b/examples/nodejs-mongodb-mongoose-restify/server-http.js
@@ -47,9 +47,9 @@ var getFilePath = function(url) {
console.log("url: " + url);
- var filePath = './public' + url;
+ var filePath = './app' + url;
- if (url == '/' ) filePath = './public/index.html';
+ if (url == '/' ) filePath = './app/index.html';
console.log("filePath: " + filePath);