Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bramaudi committed Mar 10, 2024
1 parent fed0af0 commit f4ba753
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion labs/crawler/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { basename } from "path";

const type_dirs = fs
.sync('./labs/crawler/*', { onlyDirectories: true })
.filter(v => !v.match('_'))
.map(v => basename(v))
.filter(n => !n.startsWith('_'))

let collection = []
for (const dirname of type_dirs) {
Expand Down
2 changes: 1 addition & 1 deletion public/json/_search.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/pages/favorite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default function() {
</div>
<For each={filteredList()}>
{(item) => {
const slug = item.name.replace(/ /g, '_')
const slug = decodeURIComponent(item.name).replace(/ /g, '_')
return (
<div class="flex items-center my-1">
<img
Expand Down

0 comments on commit f4ba753

Please sign in to comment.