This will work locally, but not on prod where we use S3 to store published files. This line should probably go above in the publishEmbed function, or the like