diff options
author | lassulus <lassulus@lassul.us> | 2020-04-19 12:30:46 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-04-19 12:30:46 +0200 |
commit | 8bc2a64f49c4f49d942576cd8dadfec832088ffe (patch) | |
tree | 43c9d33bb2fdb92861ae5447f9101a1068113f8b | |
parent | e0576eb972a8ad60bd8f9a4418add448d1e674a5 (diff) |
l radio: set /current method to GET
-rw-r--r-- | lass/2configs/radio.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lass/2configs/radio.nix b/lass/2configs/radio.nix index 562dbbe58..146472e5f 100644 --- a/lass/2configs/radio.nix +++ b/lass/2configs/radio.nix @@ -277,6 +277,10 @@ in { }; script = '' case "$Method $Request_URI" in + "GET /current") + ${print_current}/bin/print_current + exit + ;; "POST /skip") ${skip_track}/bin/skip_track exit @@ -285,10 +289,6 @@ in { ${good_track}/bin/good_track exit ;; - "POST /current") - ${print_current}/bin/print_current - exit - ;; esac ''; }; |