From ca98e3d55cea4be6e70ae517ca7d93e766cfa8eb Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Fri, 21 Mar 2014 17:30:30 -0700 Subject: [PATCH] Make the demo as the home page --- example/app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example/app.js b/example/app.js index 7fce5f8..71906f6 100644 --- a/example/app.js +++ b/example/app.js @@ -25,6 +25,7 @@ var container = ds.createModel('container'); app.model(container); +/* app.get('/', function (req, res, next) { res.setHeader('Content-Type', 'text/html'); var form = "

Storage Service Demo

" + @@ -38,6 +39,7 @@ app.get('/', function (req, res, next) { res.send(form); res.end(); }); +*/ app.listen(app.get('port')); console.log('http://127.0.0.1:' + app.get('port'));