Open Routes
This commit is contained in:
parent
4da901ece9
commit
387a6082ca
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ var port = process.env.IP || process.env.OPENSHIFT_NODEJS_IP || 8080;
|
||||||
//webapp.use(morgan('combined'));
|
//webapp.use(morgan('combined'));
|
||||||
|
|
||||||
//External Routing
|
//External Routing
|
||||||
webapp.get('/test', function (req, res) {
|
webapp.get('*', function (req, res) {
|
||||||
console.log('works');
|
console.log('works');
|
||||||
res.send('Hello World!');
|
res.send('Hello World!');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue