react-express-mysql: use create-react-app template
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
This commit is contained in:
2
react-express-mysql/backend/index.js
vendored
2
react-express-mysql/backend/index.js
vendored
@@ -24,7 +24,7 @@ var app = express();
|
||||
app.use(morgan('common'));
|
||||
|
||||
app.get('/', function (req, res) {
|
||||
res.send('Hello Docker World\n');
|
||||
res.json({ message: 'Hello Docker World!' });
|
||||
});
|
||||
|
||||
app.get('/healthz', function (req, res) {
|
||||
|
Reference in New Issue
Block a user