From a9c0695de09b31e099f0136739a8d75da2f848c5 Mon Sep 17 00:00:00 2001 From: Superwhiskers Date: Tue, 27 Feb 2018 19:54:44 -0600 Subject: [PATCH] make a few changes to how maryo gets the server status --- db.js | 2 +- routes/root/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db.js b/db.js index aa97d4d..9939491 100644 --- a/db.js +++ b/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 -}; \ No newline at end of file +}; diff --git a/routes/root/index.js b/routes/root/index.js index 1b5c9ff..7a4b255 100644 --- a/routes/root/index.js +++ b/routes/root/index.js @@ -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