Fix $httpd_port not having any effect
[app-fonbot-daemon.git] / lib / App / FonBot / Plugin / HTTPD.pm
index 933a56c61843cabce48f36d7783f02f1bc382166..ac7e0e773d0653a6f61ee7088be56bff8e3a74cd 100644 (file)
@@ -33,7 +33,7 @@ sub init{
        %waiting_requests = ();
        %waiting_userrequests = ();
        $httpd = POE::Component::Server::HTTP->new(
-               Port => 8888,
+               Port => $httpd_port,
                PreHandler => { '/' => [\&pre_auth, \&pre_get, \&pre_userget], },
                ContentHandler =>{ '/send' => \&on_send, '/get' => \&on_get, '/ok' => \&on_ok, '/userget' => \&on_userget, '/usersend' => \&on_usersend },
                ErrorHandler => { '/' => sub { RC_OK }},
This page took 0.010332 seconds and 4 git commands to generate.