Skip to content

Commit

Permalink
Add another stopall URL
Browse files Browse the repository at this point in the history
  • Loading branch information
hifiberry committed Mar 29, 2024
1 parent 3ff44ef commit 3134218
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ac2/webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ def route(self):
self.bottle.route('/api/player/stopall',
method="POST",
callback=self.stopall_handler)
self.bottle.route('/api/player/stop-all/<player>',
method="POST",
callback=self.stopall_handler)
self.bottle.route('/api/player/stop-all',
method="POST",
callback=self.stopall_handler)
self.bottle.route('/api/player/<command>',
method="POST",
callback=self.playercontrol_handler)
Expand Down

0 comments on commit 3134218

Please sign in to comment.