From 43de292412c7be5a3e641e9f7ac5b733c3dc09c3 Mon Sep 17 00:00:00 2001 From: CaramelKat <32065563+caramelkat@users.noreply.github.com> Date: Sat, 25 Apr 2020 03:57:25 -0500 Subject: [PATCH] imported jquery --- src/portal/index.html | 1 + src/services/miiverse-api/routes/ctr.js | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/portal/index.html b/src/portal/index.html index 35bc785..a693fd1 100644 --- a/src/portal/index.html +++ b/src/portal/index.html @@ -4,6 +4,7 @@ rverse + diff --git a/src/services/miiverse-api/routes/ctr.js b/src/services/miiverse-api/routes/ctr.js index ed5a1c0..b29b59f 100644 --- a/src/services/miiverse-api/routes/ctr.js +++ b/src/services/miiverse-api/routes/ctr.js @@ -26,9 +26,13 @@ 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 jquery server. */ +router.get('/titles/js/jquery-1.9.1.min.js', function (req, res) { + res.sendFile(path.join(__dirname + '../../../../portal/js/jquery-1.9.1.min.js')); +}); /* GET played titles. */ -router.get('/settings/played_title_ids', function (req, res) { - res.sendStatus(200);; +router.post('/settings/played_title_ids', function (req, res) { + res.sendStatus(200); }); /* GET check update */ router.get('/check_update.json', function (req, res) {