Added sideswitch functionality, cleanup, comments
This commit is contained in:
@@ -93,7 +93,10 @@ router.post('/scoreAlterScore', function(req, res, next) {
|
||||
});
|
||||
|
||||
// Express router endpoint to switch the score after halftime
|
||||
router.post('/scoreSwitch', function(req, res, next) {
|
||||
router.get('/scoreToggleSideswitch', function(req, res, next) {
|
||||
score.toggleSideswitch();
|
||||
res.status(200);
|
||||
res.json(score.getValues());
|
||||
});
|
||||
|
||||
// Express router endpoint to get important score values
|
||||
|
||||
Reference in New Issue
Block a user