Enable CORS checks (#2248)

* Introduce CORS CLI flags.

* Fix test.
This commit is contained in:
Tomasz Drwięga
2019-04-10 23:47:27 +02:00
committed by Bastian Köcher
parent 0b2c3ae860
commit 25f56283b1
7 changed files with 54 additions and 6 deletions
+1
View File
@@ -120,6 +120,7 @@ fn node_config<F: ServiceFactory> (
execution_strategies: Default::default(),
rpc_http: None,
rpc_ws: None,
rpc_cors: None,
telemetry_endpoints: None,
default_heap_pages: None,
offchain_worker: false,