mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
feat: add global 404 page
This commit is contained in:
12
lib/image.ts
Normal file
12
lib/image.ts
Normal file
@ -0,0 +1,12 @@
|
||||
// [TODO]
|
||||
export default function imageProcess({
|
||||
src,
|
||||
width,
|
||||
quality,
|
||||
}: {
|
||||
src: string;
|
||||
width: number;
|
||||
quality?: number;
|
||||
}) {
|
||||
return `/${src}`;
|
||||
}
|
Reference in New Issue
Block a user