diff --git a/api/src/endpoints/search_repos.rs b/api/src/endpoints/search_repos.rs index 5f8cf2f..b0611ea 100644 --- a/api/src/endpoints/search_repos.rs +++ b/api/src/endpoints/search_repos.rs @@ -35,11 +35,5 @@ pub async fn search_repos( .json::() .await?; - Ok(HttpResponse::Ok().json( - response - .items - .into_iter() - .filter(|r| r.private == false) - .collect::>(), - )) + Ok(HttpResponse::Ok().json(response.items)) } diff --git a/src/routes/layout.css b/src/routes/layout.css index 0d47379..cf8a2e3 100644 --- a/src/routes/layout.css +++ b/src/routes/layout.css @@ -35,7 +35,7 @@ line-height: 1.5; font-weight: 400; - color-scheme: light dark; + color-scheme: dark; color: rgba(255, 255, 255, 0.87); /* background-color: #242424; */ @@ -159,17 +159,17 @@ button:focus-visible { animation: grow-out 150ms ease-out; } -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - - a:default:hover { - color: #747bff; - } - - button:default { - background-color: #f9f9f9; - } -} +/* @media (prefers-color-scheme: light) { */ +/* :root { */ +/* color: #213547; */ +/* background-color: #ffffff; */ +/* } */ +/**/ +/* a:default:hover { */ +/* color: #747bff; */ +/* } */ +/**/ +/* button:default { */ +/* background-color: #f9f9f9; */ +/* } */ +/* } */ diff --git a/vercel.json b/vercel.json index 49b539e..0225522 100644 --- a/vercel.json +++ b/vercel.json @@ -2,7 +2,7 @@ "rewrites": [ { "source": "/api/v0/:path*", - "destination": "https://s8do6ipb07.execute-api.ca-central-1.amazonaws.com/api/v0/:path*" + "destination": "https://api.ghostv2.lucalise.ca/api/v0/:path*" } ] }