summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-04-19 12:30:46 +0200
committerlassulus <lassulus@lassul.us>2020-04-19 12:30:46 +0200
commit8bc2a64f49c4f49d942576cd8dadfec832088ffe (patch)
tree43c9d33bb2fdb92861ae5447f9101a1068113f8b /lass/2configs
parente0576eb972a8ad60bd8f9a4418add448d1e674a5 (diff)
l radio: set /current method to GET
Diffstat (limited to 'lass/2configs')
-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
'';
};