summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lass/2configs/radio.nix8
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
'';
};