fix(blog): optimize component share logic, typography, and modal layouts
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 5s
Build & Deploy / 🏗️ Build (push) Failing after 14s
Build & Deploy / 🧪 QA (push) Failing after 1m48s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 5s
Build & Deploy / 🏗️ Build (push) Failing after 14s
Build & Deploy / 🧪 QA (push) Failing after 1m48s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
This commit is contained in:
@@ -56,6 +56,7 @@ export function getImgproxyUrl(
|
||||
|
||||
// Development mapping: Map local domains to internal Docker hostnames
|
||||
// so imgproxy can fetch images without SSL issues or external routing
|
||||
// ONLY run this on server-side (node), not in browser
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
if (absoluteSrc.includes("mintel.localhost")) {
|
||||
absoluteSrc = absoluteSrc.replace(
|
||||
@@ -68,7 +69,7 @@ export function getImgproxyUrl(
|
||||
"http://directus:8055",
|
||||
);
|
||||
}
|
||||
console.log(`[imgproxy] ${src} -> ${absoluteSrc}`);
|
||||
|
||||
}
|
||||
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user