Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logo image from URL not working #26

Open
muzicman0 opened this issue Aug 21, 2021 · 2 comments
Open

Logo image from URL not working #26

muzicman0 opened this issue Aug 21, 2021 · 2 comments

Comments

@muzicman0
Copy link

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
Copy link
Author

muzicman0 commented Aug 21, 2021

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant