fix(emails): updated path for email assets to absolute rather than relative paths (#1398)

This commit is contained in:
Waleed
2025-09-20 12:08:34 -07:00
committed by GitHub
parent 93f9293f2c
commit 545e590ce5
9 changed files with 9 additions and 9 deletions

View File

@@ -79,7 +79,7 @@ export const BatchInvitationEmail = ({
<Row>
<Column style={{ textAlign: 'center' }}>
<Img
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
width='114'
alt={brand.name}
style={{

View File

@@ -44,7 +44,7 @@ export const EnterpriseSubscriptionEmail = ({
<Row>
<Column style={{ textAlign: 'center' }}>
<Img
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
width='114'
alt={brand.name}
style={{

View File

@@ -59,7 +59,7 @@ export const HelpConfirmationEmail = ({
<Row>
<Column style={{ textAlign: 'center' }}>
<Img
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
width='114'
alt={brand.name}
style={{

View File

@@ -65,7 +65,7 @@ export const InvitationEmail = ({
<Row>
<Column style={{ textAlign: 'center' }}>
<Img
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
width='114'
alt={brand.name}
style={{

View File

@@ -71,7 +71,7 @@ export const OTPVerificationEmail = ({
<Row>
<Column style={{ textAlign: 'center' }}>
<Img
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
width='114'
alt={brand.name}
style={{

View File

@@ -46,7 +46,7 @@ export function PlanWelcomeEmail({
<Row>
<Column style={{ textAlign: 'center' }}>
<Img
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
width='114'
alt={brand.name}
style={{

View File

@@ -42,7 +42,7 @@ export const ResetPasswordEmail = ({
<Row>
<Column style={{ textAlign: 'center' }}>
<Img
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
width='114'
alt={brand.name}
style={{

View File

@@ -51,7 +51,7 @@ export function UsageThresholdEmail({
<Row>
<Column style={{ textAlign: 'center' }}>
<Img
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
width='114'
alt={brand.name}
style={{

View File

@@ -63,7 +63,7 @@ export const WorkspaceInvitationEmail = ({
<Row>
<Column style={{ textAlign: 'center' }}>
<Img
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
width='114'
alt={brand.name}
style={{