aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-10-31 20:38:38 +0200
committerRiccardo Spagni <ric@spagni.net>2017-10-31 20:38:38 +0200
commit54463b33b3169f9d1ed6aefcc321e3715c066bd5 (patch)
treecd111785fb782181d7a9eebda0a80f53f2587ad3 /src/rpc/core_rpc_server.cpp
parentMerge pull request #2711 (diff)
parentRPC Add cross origin resource sharing support (diff)
downloadmonero-54463b33b3169f9d1ed6aefcc321e3715c066bd5.tar.xz
Merge pull request #2723
69c37200 RPC Add cross origin resource sharing support (Tim L)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rwxr-xr-x[-rw-r--r--]src/rpc/core_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index 9095aacae..b3ce30d0c 100644..100755
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -101,7 +101,7 @@ namespace cryptonote
http_login.emplace(std::move(rpc_config->login->username), std::move(rpc_config->login->password).password());
return epee::http_server_impl_base<core_rpc_server, connection_context>::init(
- std::move(port), std::move(rpc_config->bind_ip), std::move(http_login)
+ std::move(port), std::move(rpc_config->bind_ip), std::move(rpc_config->access_control_origins), std::move(http_login)
);
}
//------------------------------------------------------------------------------------------------------------------------------