fix: production URLs for admin panel, seed __dirname, nginx.conf
Deploy Canina / deploy (push) Failing after 8m3s

This commit is contained in:
DevOps committed 2026-07-13 11:20:43 +00:00
1 parent a22afb11d5
commit 1b2040c880
10 files changed
+32 -22

No files matched your search

@@ -186,7 +186,7 @@ export default function MediaSelector({ isOpen, onClose, onSelect, multiple = fa
) : (
<div className="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-4">
{mediaList.map((media) => {
const imgUrl = media.url.startsWith('http') ? media.url : `http://localhost:4001${media.url}`;
const imgUrl = media.url.startsWith('http') ? media.url : `https://apicanina.parsaaghayi.ir${media.url}`;
const isSelected = selectedUrl && imgUrl === selectedUrl;
return (
<div