openvpn-monitor icon indicating copy to clipboard operation
openvpn-monitor copied to clipboard

Add SCRIPT_NAME prefix to images directory path

Open chuckination opened this issue 6 years ago • 3 comments

We need to at the SCRIPT_NAME prefix to the images directory to properly handle serving the flag images from a UWSGI + NGINX subdirectory path.

chuckination avatar Oct 31 '19 17:10 chuckination

Can you check if this is still required with the latest release?

furlongm avatar Dec 21 '24 23:12 furlongm

I would instead recommend dropping the flag images and replacing them with unicode flag symbols. One simply has to replace the two letter country codes with their "regional indicator symbol letter" (simply add an offset to the codepoint) and then gets the corresponding flag symbol. There is an explanation on emojipedia

septatrix avatar Jan 23 '25 18:01 septatrix

The unicode symbols sound like a great idea - I'd be happy to consider a PR for that against the latest branch.

furlongm avatar Apr 21 '25 21:04 furlongm