...
Signed-off-by: Walamana <joniogerg@gmail.com>
This commit is contained in:
parent
f79750919c
commit
43114f3f8f
2
app.js
2
app.js
@ -35,7 +35,7 @@ con.connect(err => {
|
|||||||
|
|
||||||
|
|
||||||
app.get('/', (req, res) => {
|
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!");
|
res.send("Welcome to the miniplan api!");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user