Skip to content

Commit 545e590

Browse files
authored
fix(emails): updated path for email assets to absolute rather than relative paths (#1398)
1 parent 93f9293 commit 545e590

9 files changed

+9
-9
lines changed

apps/sim/components/emails/batch-invitation-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export const BatchInvitationEmail = ({
7979
<Row>
8080
<Column style={{ textAlign: 'center' }}>
8181
<Img
82-
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
82+
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
8383
width='114'
8484
alt={brand.name}
8585
style={{

apps/sim/components/emails/enterprise-subscription-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const EnterpriseSubscriptionEmail = ({
4444
<Row>
4545
<Column style={{ textAlign: 'center' }}>
4646
<Img
47-
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
47+
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
4848
width='114'
4949
alt={brand.name}
5050
style={{

apps/sim/components/emails/help-confirmation-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const HelpConfirmationEmail = ({
5959
<Row>
6060
<Column style={{ textAlign: 'center' }}>
6161
<Img
62-
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
62+
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
6363
width='114'
6464
alt={brand.name}
6565
style={{

apps/sim/components/emails/invitation-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export const InvitationEmail = ({
6565
<Row>
6666
<Column style={{ textAlign: 'center' }}>
6767
<Img
68-
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
68+
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
6969
width='114'
7070
alt={brand.name}
7171
style={{

apps/sim/components/emails/otp-verification-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const OTPVerificationEmail = ({
7171
<Row>
7272
<Column style={{ textAlign: 'center' }}>
7373
<Img
74-
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
74+
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
7575
width='114'
7676
alt={brand.name}
7777
style={{

apps/sim/components/emails/plan-welcome-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function PlanWelcomeEmail({
4646
<Row>
4747
<Column style={{ textAlign: 'center' }}>
4848
<Img
49-
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
49+
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
5050
width='114'
5151
alt={brand.name}
5252
style={{

apps/sim/components/emails/reset-password-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const ResetPasswordEmail = ({
4242
<Row>
4343
<Column style={{ textAlign: 'center' }}>
4444
<Img
45-
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
45+
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
4646
width='114'
4747
alt={brand.name}
4848
style={{

apps/sim/components/emails/usage-threshold-email.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function UsageThresholdEmail({
5151
<Row>
5252
<Column style={{ textAlign: 'center' }}>
5353
<Img
54-
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
54+
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
5555
width='114'
5656
alt={brand.name}
5757
style={{

apps/sim/components/emails/workspace-invitation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export const WorkspaceInvitationEmail = ({
6363
<Row>
6464
<Column style={{ textAlign: 'center' }}>
6565
<Img
66-
src={brand.logoUrl || '/logo/reverse/text/medium.png'}
66+
src={brand.logoUrl || `${baseUrl}/logo/reverse/text/medium.png`}
6767
width='114'
6868
alt={brand.name}
6969
style={{

0 commit comments

Comments
 (0)