Compare commits

...

2 Commits

Author SHA1 Message Date
32361403d0 fix(brochure): use dynamic base URL and resolve singular/plural routing conflict
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 11s
Build & Deploy / 🧪 QA (push) Successful in 1m11s
Build & Deploy / 🏗️ Build (push) Successful in 2m30s
Build & Deploy / 🚀 Deploy (push) Successful in 21s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 4m59s
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-04-13 21:46:37 +02:00
e6225ba6fd fix: update gatekeeper image to v1.9.18 and sync dependencies
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 11s
Build & Deploy / 🧪 QA (push) Successful in 1m11s
Build & Deploy / 🏗️ Build (push) Successful in 2m28s
Build & Deploy / 🚀 Deploy (push) Successful in 23s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 5m15s
Build & Deploy / 🔔 Notify (push) Successful in 3s
2026-04-13 17:00:09 +02:00
4 changed files with 14 additions and 12 deletions

View File

@@ -1,6 +1,7 @@
'use server';
import { getServerAppServices } from '@/lib/services/create-services.server';
import { config } from '@/lib/config';
export async function requestBrochureAction(formData: FormData) {
const services = getServerAppServices();
@@ -76,7 +77,8 @@ export async function requestBrochureAction(formData: FormData) {
}
// 3. Send Brochure via Email
const brochureUrl = `https://klz-cables.com/brochure/klz-product-catalog-${locale}.pdf`;
const baseUrl = config.baseUrl || 'https://klz-cables.com';
const brochureUrl = `${baseUrl}/brochure/klz-product-catalog-${locale}.pdf`;
try {
const { sendEmail } = await import('@/lib/mail/mailer');

View File

@@ -61,7 +61,7 @@ services:
klz-gatekeeper:
profiles: [ "gatekeeper" ]
image: registry.infra.mintel.me/mintel/gatekeeper:testing
image: git.infra.mintel.me/mmintel/gatekeeper:v1.9.18
restart: unless-stopped
networks:
infra:

View File

@@ -435,16 +435,16 @@ const nextConfig = {
destination: '/api/datasheets/:path*',
},
{
source: '/:locale/brochures/:path*',
destination: '/api/brochures/:path*',
source: '/:locale/brochure/:path*',
destination: '/brochure/:path*',
},
{
source: '/datasheets/:path*',
destination: '/api/datasheets/:path*',
},
{
source: '/brochures/:path*',
destination: '/api/brochures/:path*',
source: '/brochure/:path*',
destination: '/brochure/:path*',
},
{
source: '/de/produkte',

View File

@@ -4,10 +4,10 @@
"private": true,
"packageManager": "pnpm@10.18.3",
"dependencies": {
"@mintel/mail": "^1.8.21",
"@mintel/next-config": "^1.8.21",
"@mintel/next-feedback": "^1.8.21",
"@mintel/next-utils": "^1.8.21",
"@mintel/mail": "1.9.18",
"@mintel/next-config": "1.9.18",
"@mintel/next-feedback": "1.9.18",
"@mintel/next-utils": "1.9.18",
"@payloadcms/db-postgres": "^3.77.0",
"@payloadcms/email-nodemailer": "^3.77.0",
"@payloadcms/next": "^3.77.0",
@@ -53,8 +53,8 @@
"@commitlint/config-conventional": "^20.4.0",
"@cspell/dict-de-de": "^4.1.2",
"@lhci/cli": "^0.15.1",
"@mintel/eslint-config": "1.8.21",
"@mintel/tsconfig": "^1.8.21",
"@mintel/eslint-config": "1.9.18",
"@mintel/tsconfig": "1.9.18",
"@next/bundle-analyzer": "^16.1.6",
"@tailwindcss/cli": "^4.1.18",
"@tailwindcss/postcss": "^4.1.18",