fix: disable light mode, return all repos from search

This commit is contained in:
2026-01-22 17:31:46 -08:00
parent d9622ea451
commit 496ed2cb00
3 changed files with 17 additions and 23 deletions

View File

@@ -35,11 +35,5 @@ pub async fn search_repos(
.json::<SearchResponse>() .json::<SearchResponse>()
.await?; .await?;
Ok(HttpResponse::Ok().json( Ok(HttpResponse::Ok().json(response.items))
response
.items
.into_iter()
.filter(|r| r.private == false)
.collect::<Vec<Repository>>(),
))
} }

View File

@@ -35,7 +35,7 @@
line-height: 1.5; line-height: 1.5;
font-weight: 400; font-weight: 400;
color-scheme: light dark; color-scheme: dark;
color: rgba(255, 255, 255, 0.87); color: rgba(255, 255, 255, 0.87);
/* background-color: #242424; */ /* background-color: #242424; */
@@ -159,17 +159,17 @@ button:focus-visible {
animation: grow-out 150ms ease-out; animation: grow-out 150ms ease-out;
} }
@media (prefers-color-scheme: light) { /* @media (prefers-color-scheme: light) { */
:root { /* :root { */
color: #213547; /* color: #213547; */
background-color: #ffffff; /* background-color: #ffffff; */
} /* } */
/**/
a:default:hover { /* a:default:hover { */
color: #747bff; /* color: #747bff; */
} /* } */
/**/
button:default { /* button:default { */
background-color: #f9f9f9; /* background-color: #f9f9f9; */
} /* } */
} /* } */

View File

@@ -2,7 +2,7 @@
"rewrites": [ "rewrites": [
{ {
"source": "/api/v0/:path*", "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*"
} }
] ]
} }