furlongm / openvpn-monitor

openvpn-monitor is a web based OpenVPN monitor, that shows current connection information, such as users, location and data transferred.
http://openvpn-monitor.openbytes.ie
GNU General Public License v3.0
968 stars 294 forks source link

maps_height setting is not workling (Patch applied) #194

Closed jnko closed 3 years ago

jnko commented 3 years ago

Config variable 'maps_height' is not working.

Please apply this patch in order to resolve

@@ -136,7 +136,7 @@
                                     'show_disconnect': False}

     def parse_global_section(self, config):
-        global_vars = ['site', 'logo', 'latitude', 'longitude', 'maps', 'geoip_data', 'datetime_format']
+        global_vars = ['site', 'logo', 'latitude', 'longitude', 'maps', 'maps_height', 'geoip_data', 'datetime_format']
         for var in global_vars:
             try:
                 self.settings[var] = config.get('openvpn-monitor', var)