fix 2 form

This commit is contained in:
2026-05-13 19:00:35 +07:00
parent 9cafa23721
commit 946b9b12a4
4 changed files with 22 additions and 41 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
export const imageUrl = (path?: string) => {
// Không có ảnh → ảnh mặc định
// No image → default image
if (!path) return "/_images/default.jpg";
// Đã là full URL
// Already a full URL
if (path.startsWith("http")) return path;
const base = (