fix: update email script to skip env validation and improve logo alt text in email template

This commit is contained in:
Marco Pedone 2026-01-26 09:55:28 +01:00
parent 67036bed5a
commit ed24cfc034
4 changed files with 6 additions and 8 deletions

View file

@ -43,12 +43,11 @@ const Base = ({
<Body className="py-2 text-center font-sans text-base text-neutral-700"> <Body className="py-2 text-center font-sans text-base text-neutral-700">
<Container className="max-w-2xl rounded-lg border border-[#eaeaea] border-solid pt-2 pb-10"> <Container className="max-w-2xl rounded-lg border border-[#eaeaea] border-solid pt-2 pb-10">
<Img <Img
alt="Infoalloggi.it" alt="Company Logo"
className="mx-auto my-2 scale-80" className="mx-auto my-2"
height={44.25} height={44}
referrerPolicy="no-referrer"
src={`${env.BASE_URL}/Infoalloggi.png`} src={`${env.BASE_URL}/Infoalloggi.png`}
width={230.5} width={230}
/> />
<Section className="max-w-xl px-4"> <Section className="max-w-xl px-4">

View file

@ -91,7 +91,6 @@ async function createNextConfig(): Promise<NextConfig> {
}, },
]; ];
}, },
typescript: { typescript: {
ignoreBuildErrors: true, ignoreBuildErrors: true,
}, },

View file

@ -6,7 +6,7 @@
"d": "npm run-p dev stripe-dev -cl", "d": "npm run-p dev stripe-dev -cl",
"dev": "next dev --turbopack", "dev": "next dev --turbopack",
"dev-https": "cross-env NEXT_PUBLIC_BASE_URL='https://localhost:3000' INTERNAL_BASE_URL='https://localhost:3000' BASE_URL='https://localhost:3000' next dev --experimental-https --turbopack", "dev-https": "cross-env NEXT_PUBLIC_BASE_URL='https://localhost:3000' INTERNAL_BASE_URL='https://localhost:3000' BASE_URL='https://localhost:3000' next dev --experimental-https --turbopack",
"email": "cross-env NEXT_PUBLIC_BASE_URL='https://localhost:3000' email dev --port 3500", "email": "cross-env NEXT_PUBLIC_BASE_URL='https://localhost:3000' BASE_URL='https://localhost:3000' SKIP_ENV_VALIDATION='1' email dev --port 3500",
"idev": "cross-env NODE_OPTIONS='--inspect' next dev --turbopack", "idev": "cross-env NODE_OPTIONS='--inspect' next dev --turbopack",
"knip": "knip --no-exit-code --no-config-hints", "knip": "knip --no-exit-code --no-config-hints",
"lint": "biome lint", "lint": "biome lint",

View file

@ -5,7 +5,7 @@ import { pswChangeProxy } from "./proxies/psw_change";
import { TestRedirectProxy } from "./proxies/test_redirect"; import { TestRedirectProxy } from "./proxies/test_redirect";
export async function proxy(request: NextRequest) { export async function proxy(request: NextRequest) {
console.log("Proxy triggered for:", request.nextUrl.pathname); //console.log("Proxy triggered for:", request.nextUrl.pathname);
return await chainProxies(request, [ return await chainProxies(request, [
TestRedirectProxy, TestRedirectProxy,