Initial project commit

This commit is contained in:
2026-05-09 16:40:29 +08:00
commit 02b0259a9e
267 changed files with 54891 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import { SERVER_ORIGIN } from "./config";
export const resolveImageUrl = (url) => {
if (!url) return "";
if (url.startsWith("http://") || url.startsWith("https://")) return url;
return SERVER_ORIGIN + url;
};