Browse Source

fix(email-plugin): Fix broken images in order-confirmation mock emails

Michael Bromley 4 years ago
parent
commit
82eefde321

File diff suppressed because it is too large
+ 2 - 0
packages/email-plugin/src/dev-mailbox.ts


+ 2 - 2
packages/email-plugin/src/mock-events.ts

@@ -36,7 +36,7 @@ export const mockOrderStateTransitionEvent = new OrderStateTransitionEvent(
             new OrderLine({
                 id: '5',
                 featuredAsset: {
-                    preview: 'http://localhost:3000/assets/alexandru-acea-686569-unsplash__preview.jpg',
+                    preview: '/mailbox/placeholder-image',
                 },
                 productVariant: new ProductVariant({
                     id: '2',
@@ -63,7 +63,7 @@ export const mockOrderStateTransitionEvent = new OrderStateTransitionEvent(
             new OrderLine({
                 id: '6',
                 featuredAsset: {
-                    preview: 'http://localhost:3000/assets/vincent-botta-736919-unsplash__preview.jpg',
+                    preview: '/mailbox/placeholder-image',
                 },
                 productVariant: new ProductVariant({
                     id: '4',

Some files were not shown because too many files changed in this diff