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/default.nix | 81 +---------------------------------------- 1 file changed, 1 insertion(+), 80 deletions(-) (limited to 'lass/2configs/radio/default.nix') diff --git a/lass/2configs/radio/default.nix b/lass/2configs/radio/default.nix index 34115f56..a1e220cd 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