make a few changes to how maryo gets the server status

This commit is contained in:
Superwhiskers
2018-02-27 19:54:44 -06:00
parent c7857bf084
commit a9c0695de0
2 changed files with 2 additions and 2 deletions

2
db.js
View File

@@ -15,4 +15,4 @@ user_collection = user_database.collection(user_database_collection_name);
module.exports = {
user_database: user_database,
user_collection: user_collection
};
};

View File

@@ -10,7 +10,7 @@ route_debugger.log('Loading \'root/misc\' API routes');
* Description: tests the validity of this server by returning a predefined message
*/
routes.get('/isthisworking', async (req, res) => {
return res.send("it works!")
return res.send('{"server": "account.nintendo.net"}')
});
module.exports = routes