Skip to content

Commit

Permalink
Use assets hosted on netlify for stp messages
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuma0129 committed Aug 15, 2024
1 parent c7f21b2 commit 3497adb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@ export const SHARE_TARGET_PICKER_FIXED_ARGUMENT_LIST = [
label: 'image',
value: {
type: 'image',
originalContentUrl: 'https://example.com/original.jpg',
previewImageUrl: 'https://example.com/preview.jpg',
originalContentUrl: `${location.href}assets/stp_image.png`,
previewImageUrl: `${location.href}assets/stp_image.png`,
},
},
{
label: 'video',
value: {
type: 'video',
originalContentUrl: 'https://example.com/original.mp4',
previewImageUrl: 'https://example.com/preview.jpg',
originalContentUrl: `${location.href}assets/stp_video.mp4`,
previewImageUrl: `${location.href}assets/stp_video.mp4`,
trackingId: 'track-id',
},
},
{
label: 'audio',
value: {
type: 'audio',
originalContentUrl: 'https://example.com/original.m4a',
originalContentUrl: `${location.href}assets/stp_audio.mp3`,
duration: 60000,
},
},
Expand Down

0 comments on commit 3497adb

Please sign in to comment.