mirror of
https://github.com/monero-project/monero.git
synced 2025-08-06 10:54:18 -04:00
RPC Add cross origin resource sharing support
This commit is contained in:
parent
8d511f3c24
commit
69c37200aa
10 changed files with 82 additions and 19 deletions
2
src/wallet/wallet_rpc_server.cpp
Normal file → Executable file
2
src/wallet/wallet_rpc_server.cpp
Normal file → Executable file
|
@ -216,7 +216,7 @@ namespace tools
|
|||
|
||||
m_net_server.set_threads_prefix("RPC");
|
||||
return epee::http_server_impl_base<wallet_rpc_server, connection_context>::init(
|
||||
std::move(bind_port), std::move(rpc_config->bind_ip), std::move(http_login)
|
||||
std::move(bind_port), std::move(rpc_config->bind_ip), std::move(rpc_config->access_control_origins), std::move(http_login)
|
||||
);
|
||||
}
|
||||
//------------------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue