Добавлен headless Chrome fallback для OG метаданных
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 22s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 22s
This commit is contained in:
@@ -335,8 +335,9 @@ function WishlistForm({ onNavigate, wishlistId, editConditionIndex, newTaskId, b
|
||||
// Загружаем изображение только если нет текущего
|
||||
if (metadata.image && !imageUrl) {
|
||||
try {
|
||||
// Загружаем изображение напрямую
|
||||
const imgResponse = await fetch(metadata.image)
|
||||
// Загружаем изображение через бэкенд прокси для обхода CORS
|
||||
const proxyUrl = `${API_URL}/proxy-image?url=${encodeURIComponent(metadata.image)}`
|
||||
const imgResponse = await authFetch(proxyUrl)
|
||||
if (imgResponse.ok) {
|
||||
const blob = await imgResponse.blob()
|
||||
// Проверяем размер (максимум 5MB)
|
||||
|
||||
Reference in New Issue
Block a user