mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
port can be set with the constructor
add a method to return the port
This commit is contained in:
committed by
Matthieu Gautier
parent
8164b4dadc
commit
c17abdae5e
@ -13,7 +13,7 @@
|
||||
|
||||
namespace kiwix {
|
||||
|
||||
KiwixServe::KiwixServe() : m_port(8181)
|
||||
KiwixServe::KiwixServe(int port) : m_port(port)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user