notes icon indicating copy to clipboard operation
notes copied to clipboard

When Backend is in Tor mode, load embedded images, etc over Tor

Open elimisteve opened this issue 8 years ago • 2 comments

Right now Electron does the requests directly, and we need to intercept them.

elimisteve avatar Jan 07 '17 13:01 elimisteve

Possible solution from https://github.com/rexxars/react-markdown#options --

transformImageUri - function|null Function that gets called for each encountered image with a single argument - uri. The returned value is used in place of the original.

elimisteve avatar Jan 07 '17 13:01 elimisteve

This looks handy in general and could possibly apply here: https://github.com/rexxars/react-markdown/issues/29#issuecomment-231556543

elimisteve avatar Jan 07 '17 14:01 elimisteve