From ca1621c17f867d006c4c394b3be046d42a6c5c7d Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 18 May 2022 17:22:07 +0200 Subject: l radio: rate limit downvotes --- lass/2configs/radio/controls.html | 83 +++++++++++++++++++++++++++++++++++++++ lass/2configs/radio/default.nix | 81 +------------------------------------- 2 files changed, 84 insertions(+), 80 deletions(-) create mode 100644 lass/2configs/radio/controls.html (limited to 'lass') diff --git a/lass/2configs/radio/controls.html b/lass/2configs/radio/controls.html new file mode 100644 index 000000000..858dc3656 --- /dev/null +++ b/lass/2configs/radio/controls.html @@ -0,0 +1,83 @@ + + + + + + + + The_Playlist Voting! + + + + + +
+ + + +
+ Currently Running:
+ +
+
+
+ +
+ + + + diff --git a/lass/2configs/radio/default.nix b/lass/2configs/radio/default.nix index 34115f56a..a1e220cdb 100644 --- a/lass/2configs/radio/default.nix +++ b/lass/2configs/radio/default.nix @@ -384,86 +384,7 @@ in { ''; locations."= /controls".extraConfig = '' default_type "text/html"; - alias ${pkgs.writeText "controls.html" '' - - - - - - - - The_Playlist Voting! - - - - - -
- - - -
- Currently Running:
- -
-
-
- -
- - - - - ''}; + alias ${./controls.html}; ''; extraConfig = '' add_header 'Access-Control-Allow-Origin' '*'; -- cgit v1.2.3