-
…in reply to @jordanschnyc
jordanschnyc Fair point. So you'll want to run something like this on the post content string:
content = content.replaceAll('https://yourdomain.com/wp-content/uploads', '/static/uploads')
(ensure you replace the correct variable name, and the domain). Hope that helps!