correction chemin des photos backendia
Deploy Backendia / deploy (push) Successful in 19s

This commit is contained in:
streaper2
2026-08-26 09:11:20 +02:00
parent 99abf60b52
commit c0177b19e3
3 changed files with 5 additions and 5 deletions
@@ -1,4 +1,4 @@
import { fetchApi, API_BASE_URL } from "@/lib/api";
import { fetchApi } from "@/lib/api";
import PhotoEditor from "@/components/PhotoEditor";
import { ChevronLeft, Download } from "lucide-react";
import Link from "next/link";
@@ -33,7 +33,7 @@ export default async function PhotoDetailPage({ params }: { params: Promise<{ id
<div className="flex gap-3">
<a
href={`${API_BASE_URL}/uploads/images/${id}`}
href={`/uploads/images/${id}`}
download
className="flex items-center gap-2 bg-slate-800 hover:bg-slate-700 px-4 py-2 rounded-lg text-sm font-medium transition-colors"
>