From a2b03cb28c97be3e9ccd382f7003f128508f1018 Mon Sep 17 00:00:00 2001 From: lassulus Date: Fri, 5 May 2023 01:32:18 +0200 Subject: kpaste: fix public url --- krebs/5pkgs/simple/kpaste/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/krebs/5pkgs/simple/kpaste/default.nix b/krebs/5pkgs/simple/kpaste/default.nix index 1c0225af7..de2de4721 100644 --- a/krebs/5pkgs/simple/kpaste/default.nix +++ b/krebs/5pkgs/simple/kpaste/default.nix @@ -2,6 +2,6 @@ writeDashBin "kpaste" '' ${curl}/bin/curl -sS http://p.r --data-binary @"''${1:--}" \ - -H "Content-Type-Override: ''${KPASTE_CONTENT_TYPE-}" + -H "Content-Type-Override: ''${KPASTE_CONTENT_TYPE-}" | ${gnused}/bin/sed '$ {p;s|http://p.r|https://p.krebsco.de|}' '' -- cgit v1.2.3