feat(SearchCSDbNG): update favicon and increase page size for improved performance
This commit is contained in:
parent
b7290eeb85
commit
e420a47d03
BIN
public/assets/favicon.csdbng.png
Normal file
BIN
public/assets/favicon.csdbng.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
|
|
@ -9,7 +9,7 @@ import { EntryIcon } from './MediaEntry';
|
|||
// ─── API ──────────────────────────────────────────────────────────────────────
|
||||
|
||||
const LEET_BASE = 'https://hackerswithstyle.se/leet';
|
||||
const PAGE_SIZE = 50;
|
||||
const PAGE_SIZE = 1000;
|
||||
const DOWNLOAD_DIR = '/sd/downloads';
|
||||
|
||||
function leetFetch(path: string, query?: Record<string, string>) {
|
||||
|
|
|
|||
|
|
@ -231,8 +231,7 @@ export default function SearchCSDbNG({ config, setConfig, onClose }: SearchCSDbN
|
|||
<X className="w-5 h-5" />
|
||||
</button>
|
||||
<div className="flex items-center gap-2 flex-1 py-3 min-w-0">
|
||||
<Archive className="w-5 h-5 flex-shrink-0 text-neutral-500" aria-hidden="true" />
|
||||
<span className="text-sm font-semibold text-neutral-700">CSDb-ng</span>
|
||||
<img src={`${import.meta.env.BASE_URL}assets/favicon.csdbng.png`} className="h-5 flex-shrink-0 object-contain" alt="" aria-hidden="true" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user