summaryrefslogtreecommitdiffstats
path: root/cgi/rspamd.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/rspamd.cgi')
-rw-r--r--cgi/rspamd.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/rspamd.cgi b/cgi/rspamd.cgi
index 51f134d89..cf18998e5 100644
--- a/cgi/rspamd.cgi
+++ b/cgi/rspamd.cgi
@@ -15,7 +15,7 @@ use IO::String;
use Data::Dumper;
my %cfg = (
- 'hosts' => ['localhost:11333', 'spam22'],
+ 'hosts' => ['localhost:11333'],
);
@@ -476,4 +476,4 @@ EOT
$port = 8080 unless int($port);
$host = 'localhost' unless $host;
-RspamdWebInterface->new({port=>$port, standalone=>$standalone, config=>$cfg, host=>$host})->run();
+RspamdWebInterface->new({port=>$port, standalone=>$standalone, config=>$cfg, addr=>$host})->run();