[SOLVED] Fetch Image with Full Url

Sorry i don’t understand where need i put this following code ?

on my https-function.js ? Or on my fetch return external website like this ? :

fetch ( “https://www.fitndiet7.com/_functions/li” )

// Converting received data to JSON 
. then ( response  =>  response . json ()) 
. then (( data )  =>  { 
    // Work with JSON data here 
    const  pic  =  data . photo 
    console . log ( pic ) 
  })