2
app.js
2
app.js
@@ -35,7 +35,7 @@ con.connect(err => {
|
||||
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
if(!isConnected()){res.send("No Connection to database<br>" + JSON.stringify(cause));return}
|
||||
//if(!isConnected()){res.send("No Connection to database<br>" + JSON.stringify(cause));return}
|
||||
res.send("Welcome to the miniplan api!");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user