summaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-10-21 19:42:58 +0200
committerAki <please@ignore.pl>2021-10-21 19:42:58 +0200
commit17f3ab464da4832861fc16b3886c098c424ed5dd (patch)
treeb34576ccb3623ec3d3a4e8c7c7ce37e36d6c816b /library
parent395da4b6861540fcad778cfa0b9ec1f7c16274d6 (diff)
downloadhwd-17f3ab464da4832861fc16b3886c098c424ed5dd.zip
hwd-17f3ab464da4832861fc16b3886c098c424ed5dd.tar.gz
hwd-17f3ab464da4832861fc16b3886c098c424ed5dd.tar.bz2
Added client/server config with env variables
Diffstat (limited to 'library')
-rw-r--r--library/src/library.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/src/library.cpp b/library/src/library.cpp
index d5c51c7..18c3cff 100644
--- a/library/src/library.cpp
+++ b/library/src/library.cpp
@@ -7,7 +7,7 @@ namespace hwd
static rpc::client & get_client()
{
- static rpc::client c("127.0.0.1", hwd::internal::default_port);
+ static rpc::client c(hwd::internal::host(), hwd::internal::port());
return c;
}