We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49f73ed commit c8c0cefCopy full SHA for c8c0cef
1 file changed
src/config.h
@@ -16,17 +16,17 @@ namespace hcpp
16
// dns mapping config
17
struct host_mapping
18
{
19
- std::string host_;
20
- std::string port_;
21
- std::vector<std::string> ips_;
+ std::string host_ = "localhost";
+ std::string port_ = "8080";
+ std::vector<std::string> ips_ = {"127.0.0.1"};
22
23
JS_OBJECT(JS_MEMBER(host_), JS_MEMBER(port_), JS_MEMBER(ips_));
24
};
25
26
struct dns_provider
27
28
- std::string provider_;
29
+ std::string provider_ = "localhost";
+ std::string host_ = "127.0.0.1";
30
31
JS_OBJECT(JS_MEMBER(provider_), JS_MEMBER(host_));
32
0 commit comments