diff --git a/src/lib/scel_api/src/lib.rs b/src/lib/scel_api/src/lib.rs index ec2bbe6..ab7b544 100644 --- a/src/lib/scel_api/src/lib.rs +++ b/src/lib/scel_api/src/lib.rs @@ -54,9 +54,14 @@ impl Server { .data(app) .finish(); - let cors = vec!["http://localhost:3000" - .parse() - .expect("Could not parse url")]; + let cors = vec![ + "http://localhost:3000" + .parse() + .expect("Could not parse url"), + "https://scel.front.kjuulh.io" + .parse() + .expect("Could not parse url"), + ]; let app = Router::new() .route("/", routing::get(graphql_playground).post(graphql_handler))