Different send
This commit is contained in:
parent
7177d1057b
commit
f837677aaa
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ var port = process.env.PORT || process.env.OPENSHIFT_NODEJS_PORT || 8080;
|
||||||
//External Routing
|
//External Routing
|
||||||
webapp.get('/', function (req, res) {
|
webapp.get('/', function (req, res) {
|
||||||
console.log('works as expected');
|
console.log('works as expected');
|
||||||
res.send('Hello World Again!');
|
res.send('<p>some html</p>');
|
||||||
|
//res.send('Hello World Again!');
|
||||||
});
|
});
|
||||||
|
|
||||||
//webapp.use('/public', express.static(__dirname + '/public'));
|
//webapp.use('/public', express.static(__dirname + '/public'));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue