|
@@ -15,7 +15,7 @@ var fortuneTemplate = require('fs').read(module.resolve('./templates/fortune.mus
|
|
exports.app = function(req) {
|
|
exports.app = function(req) {
|
|
var path = req.pathInfo;
|
|
var path = req.pathInfo;
|
|
if (path === '/json') {
|
|
if (path === '/json') {
|
|
- var helloObject = {message: "Hello, world"};
|
|
|
|
|
|
+ var helloObject = {message: "Hello, World!"};
|
|
// JSON Response Test
|
|
// JSON Response Test
|
|
return {
|
|
return {
|
|
status: 200,
|
|
status: 200,
|