How do I set the path to an image from a CF function?

I have a vue/nuxt project with files like this? assets -img --logo.svg functions -cf --contact.js and in contact.js some html embed (to style an email). How do I include the logo.svg in the html/email? htmlContent: <html><head></head><body> <img src="url('~assets/img/logo.jpg" alt="site logo"> <h1>Heading</h1>
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server