fix: rename env var
Some checks failed
Deploy / lint-build-deploy (push) Failing after 1m23s

This commit is contained in:
2026-01-29 18:19:00 +01:00
parent e73262b3b3
commit dc3850ac4d
9 changed files with 15 additions and 15 deletions

View File

@@ -22,7 +22,7 @@ export const ConfirmationTemplate = (code: string) => {
}}
>
<a
href={`${process.env.HOME_URL}/confirmation?code=${code}`}
href={`${process.env.NEXT_PUBLIC_HOME_URL}/confirmation?code=${code}`}
style={{
display: 'inline-block',
padding: '12px 24px',

View File

@@ -22,7 +22,7 @@ export const UnsubscribeTemplate = () => {
}}
>
<a
href={`${process.env.HOME_URL}/`}
href={`${process.env.NEXT_PUBLIC_HOME_URL}/`}
style={{
display: 'inline-block',
padding: '12px 24px',

View File

@@ -5,7 +5,7 @@ const iconStyle = {
const Icon = ({ name, size = 16 }: { name: string; size?: number }) => (
<img
src={`${process.env.HOME_URL}/email-icons/${name}.png`}
src={`${process.env.NEXT_PUBLIC_HOME_URL}/email-icons/${name}.png`}
width={size}
height={size}
alt=""
@@ -97,7 +97,7 @@ export const Footer = () => {
<span>
Click{' '}
<a
href={`${process.env.HOME_URL}/unsubscribe`}
href={`${process.env.NEXT_PUBLIC_HOME_URL}/unsubscribe`}
style={{ color: '#386FA4', textDecoration: 'none' }}
>
here
@@ -144,7 +144,7 @@ export const Footer = () => {
>
<Icon name="shield" size={14} />
<a
href={`${process.env.HOME_URL}/privacy`}
href={`${process.env.NEXT_PUBLIC_HOME_URL}/privacy`}
style={{ color: '#386FA4', textDecoration: 'none' }}
>
Privacy Policy
@@ -162,7 +162,7 @@ export const Footer = () => {
>
<Icon name="house" size={14} />
<a
href={process.env.HOME_URL}
href={process.env.NEXT_PUBLIC_HOME_URL}
style={{ color: '#386FA4', textDecoration: 'none' }}
>
Visit Website