From 384ef111b90b7bcb04b8ff477eca7218a99cb98d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 18 Aug 2011 21:22:48 +0900 Subject: Added --rpc-allow-origin-all option. This option adds Access-Control-Allow-Origin header field with value '*' to the RPC response. --- src/prefs.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/prefs.cc') diff --git a/src/prefs.cc b/src/prefs.cc index f8407198..ad7583c0 100644 --- a/src/prefs.cc +++ b/src/prefs.cc @@ -169,6 +169,8 @@ const std::string PREF_RPC_MAX_REQUEST_SIZE("rpc-max-request-size"); // value: true | false const std::string PREF_RPC_LISTEN_ALL("rpc-listen-all"); // value: true | false +const std::string PREF_RPC_ALLOW_ORIGIN_ALL("rpc-allow-origin-all"); +// value: true | false const std::string PREF_ENABLE_XML_RPC("enable-xml-rpc"); // value: 1*digit const std::string PREF_XML_RPC_LISTEN_PORT("xml-rpc-listen-port"); -- cgit