ruimarinho / docker-openvpn-monitor

The trusted multi-platform web-based OpenVPN Monitor docker image.
MIT License
101 stars 27 forks source link

Logo image from URL not working #26

Open muzicman0 opened 3 years ago

muzicman0 commented 3 years ago

I passed the 'logo' as a URL, but the page sees it as (from View Source):

<img alt="Logo" style="max-height:46px; padding-top:3px;" src="images/https://i.imgur.com/xxxxxxxxxx.png">

It's adding "images/" to the front of the src. "-e OPENVPNMONITOR_DEFAULT_LOGO=https://i.imgur.com/xxxxxxxx.png" is what is used in the command.

What am I doing wrong. The alternative listed is Bind Mounting (iirc), but I am a complete Docker Newbie, and have no idea how to do that.

muzicman0 commented 3 years ago

I used the CLI and edited the openvp-monitor.py file and removed the 'images/' from the python file. I had to install nano first (apt install nano). Seemed to work. Not sure if that will cause any issues long term or not.

muzicman0 commented 3 years ago

It didn't seem to survive a restart. Which is weird, because I had to do a restart to get it to pick up the changes.

So I guess I'm back to my original question...is there another way to do this?