martin-g commented on code in PR #1742:
URL: 
https://github.com/apache/datafusion-ballista/pull/1742#discussion_r3311218391


##########
ballista/scheduler/src/api/routes.rs:
##########
@@ -57,5 +58,9 @@ pub fn get_routes<
         get(handlers::get_job_svg_graph::<T, U>),
     );
 
-    router.with_state(scheduler_server)
+    let cors = CorsLayer::new()
+        
.allow_origin(AllowOrigin::exact("http://localhost:8080".parse().unwrap()))

Review Comment:
   Should we make this configurable or permissive and let any Ajax client able 
to connect ? As long it can reach the Scheduler address



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to