This commit is contained in:
2025-08-08 17:14:09 +08:00
parent 5fc4d09c39
commit 7f34a2f4a0
71 changed files with 6725 additions and 5646 deletions

View File

@@ -0,0 +1,9 @@
import useConfigStore from "@/store/config";
export function useContentFix(content?: string | null) {
const s3Url = useConfigStore((store) => store.s3Url);
return content?.replace(
/https?:\/\/(?:minio-hdd)\.yoshino-s\.(?:online|xyz)\//g,
s3Url,
);
}