Skip to content
Snippets Groups Projects
Commit 7889ebd8 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

spell the cors option right

parent 08fb3141
Branches
No related tags found
No related merge requests found
...@@ -161,7 +161,7 @@ in { ...@@ -161,7 +161,7 @@ in {
# Only for automated testing. # Only for automated testing.
"--http-port 80"; "--http-port 80";
prefixOption = s: "--allow-origin=" + s; prefixOption = s: "--cors-origin=" + s;
originStrings = map prefixOption cfg.allowedChargeOrigins; originStrings = map prefixOption cfg.allowedChargeOrigins;
originArgs = builtins.concatStringsSep " " originStrings; originArgs = builtins.concatStringsSep " " originStrings;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment