From 7889ebd8c1535ca2a626344aedf86e753c1dd3ea Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Tue, 26 Nov 2019 16:30:33 -0500 Subject: [PATCH] spell the cors option right --- nixos/modules/issuer.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/issuer.nix b/nixos/modules/issuer.nix index 2222d834..a65eed5a 100644 --- a/nixos/modules/issuer.nix +++ b/nixos/modules/issuer.nix @@ -161,7 +161,7 @@ in { # Only for automated testing. "--http-port 80"; - prefixOption = s: "--allow-origin=" + s; + prefixOption = s: "--cors-origin=" + s; originStrings = map prefixOption cfg.allowedChargeOrigins; originArgs = builtins.concatStringsSep " " originStrings; -- GitLab