From ef2829a8896f8cd43b4d94ae0c6afcccdcc71459 Mon Sep 17 00:00:00 2001
From: CaramelKat <32065563+caramelkat@users.noreply.github.com>
Date: Sat, 25 Apr 2020 02:45:42 -0500
Subject: [PATCH] tweaked a few responses in the ctr server
---
src/portal/index.html | 3 +--
src/services/miiverse-api/routes/ctr.js | 12 ++++++++++++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/src/portal/index.html b/src/portal/index.html
index 7a08d6c..35bc785 100644
--- a/src/portal/index.html
+++ b/src/portal/index.html
@@ -8,8 +8,7 @@
-
-
+
diff --git a/src/services/miiverse-api/routes/ctr.js b/src/services/miiverse-api/routes/ctr.js
index 3588bbf..ed5a1c0 100644
--- a/src/services/miiverse-api/routes/ctr.js
+++ b/src/services/miiverse-api/routes/ctr.js
@@ -26,6 +26,18 @@ router.get('/titles/js/n3ds/olv.js', function (req, res) {
router.get('/titles/js/n3ds/olv.locale-en.js', function (req, res) {
res.sendFile(path.join(__dirname + '../../../../portal/js/n3ds/olv.locale-en.js'));
});
+/* GET played titles. */
+router.get('/settings/played_title_ids', function (req, res) {
+ res.sendStatus(200);;
+});
+/* GET check update */
+router.get('/check_update.json', function (req, res) {
+ res.sendStatus(200);
+});
+/* GET local list */
+router.get('/local_list.json', function (req, res) {
+ res.sendStatus(200);
+});
router.post('/posts', function (req, res) {
res.sendStatus(200);
});