mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-09-30 22:28:00 -05:00
make a few changes to how maryo gets the server status
This commit is contained in:
2
db.js
2
db.js
@@ -15,4 +15,4 @@ user_collection = user_database.collection(user_database_collection_name);
|
||||
module.exports = {
|
||||
user_database: user_database,
|
||||
user_collection: user_collection
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user