diff --git a/app/views.py b/app/views.py index 5134085..478d845 100644 --- a/app/views.py +++ b/app/views.py @@ -25,7 +25,7 @@ def home(): return "hello world" -@routes.route('/powerbar_control///') +@routes.route('///') def powerbar_control(powerbar, outlet, action): print(f"powerbar: {powerbar}") @@ -59,7 +59,7 @@ def powerbar_control(powerbar, outlet, action): return "200" -@routes.route('/powerbar_state//') +@routes.route('///state') def powerbar_state(powerbar, outlet): print(f"powerbar: {powerbar}") print(f"outlet: {outlet}")