mirror of
https://github.com/PretendoNetwork/miiverse-api.git
synced 2026-08-19 23:24:05 -05:00
added js for ctr-portal
This commit is contained in:
committed by
jay.poff@outlook.com
parent
57ba52ea04
commit
4c353c9956
@@ -2,6 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Miiverse Testing</title>
|
||||
<script src="/js/olv.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -12,6 +13,9 @@
|
||||
cave.snd_playBgm(BGM_CAVE_MAIN);
|
||||
cave.transition_end();
|
||||
cave.toolbar_setVisible(visibility = true);
|
||||
</script>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
1894
src/portal/js/olv.js
Normal file
1894
src/portal/js/olv.js
Normal file
File diff suppressed because it is too large
Load Diff
@@ -4,9 +4,13 @@ const database = require('../../../database');
|
||||
var router = express.Router();
|
||||
var path = require("path");
|
||||
|
||||
/* GET discovery server. */
|
||||
/* GET portal server. */
|
||||
router.get('/titles/show', function (req, res) {
|
||||
res.sendFile(path.join(__dirname + '/portal.html'));
|
||||
res.sendFile(path.join(__dirname + '../../../../portal/index.html'));
|
||||
});
|
||||
/* GET olv.js server. */
|
||||
router.get('/js/olv.js', function (req, res) {
|
||||
res.sendFile(path.join(__dirname + '../../../../portal/js/olv.js'));
|
||||
});
|
||||
|
||||
router.post('/posts', function (req, res) {
|
||||
|
||||
Reference in New Issue
Block a user