diff --git a/src/lib.rs b/src/lib.rs index 442c8be..9f31b85 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -38,8 +38,7 @@ async fn main(mut req: Request, env: Env, _ctx: Context) -> Result { Err(err) => return Response::error(format!("Internal Server Error: {err}"), 500), }; - let origins = ["https://trippavisor-fe-develop.vercel.app"]; - + let origins = ["https://trippavisor.it", "https://dev.trippavisor.it"]; let cors_headers: Vec<&str> = vec!["Content-Type"]; let cors = Cors::default()