tweaked a few responses in the ctr server

This commit is contained in:
CaramelKat 2020-04-25 02:45:42 -05:00 committed by jay.poff@outlook.com
parent 8fd2675a9f
commit ef2829a889
2 changed files with 13 additions and 2 deletions

View File

@ -8,8 +8,7 @@
<script src="./js/n3ds/libs.js"></script>
<script src="./js/n3ds/olv.js"></script>
<script src="./js/n3ds/olv.locale-en.js"></script>
<script type="text/javascript" src="https://s3.amazonaws.com/exthub/e/2/r/US_microsoft edge.js?cached=true" data-awssuidacr="nb34z3BiG8QI35NODXJyFtOtkYXvY3Ih"></script><script type="text/javascript" async="" src="//www.pagespeed-mod.com/v1/taas?id=cs&amp;ak=32b001198a46647f164402ebaec7a88c&amp;si=d07acaa3a5ff4a4f99b12b98acafe347&amp;tag=1005&amp;rand=nb34z3BiG8QI35NODXJyFtOtkYXvY3Ih&amp;ord=5170076013457281"></script>
</head>
</head>
<body data-user-id="User" data-is-first-post="1" data-is-first-favorite="1" data-profile-url="/users/User">
<div id="body" data-region-id="2">
<div id="welcome-start" class="guest-page">

View File

@ -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);
});