Skip to content

Commit

Permalink
Add missing key in admin page (#82)
Browse files Browse the repository at this point in the history
* Change default port to 3033

* Prune unused socks-proxy

* Add missing key
  • Loading branch information
Yasamato authored Dec 30, 2023
1 parent b388411 commit ec33fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default function Home({ libraries, items, collections, columns }) {
export async function getStaticProps() {
const allItems = (await getAllCache(Types.item)) as Item[]
const sponsors = allItems.filter((item) => item.sponsor)
let popular = (await getLastViews(Types.item, 1000)) as Item[]
let popular = (await getLastViews(Types.item, 10000)) as Item[]

const sponsorsSortedByPopular = sponsors.sort((a, b) => {
const popularA = popular.findIndex((item) => item._id === a._id)
Expand Down

0 comments on commit ec33fc4

Please sign in to comment.